Esempio n. 1
0
    def __init__(self, config):
        Coloring.__init__(self, config, "status")
        self.project = self.printer("header", attr="bold")
        self.branch = self.printer("header", attr="bold")
        self.nobranch = self.printer("nobranch", fg="red")
        self.important = self.printer("important", fg="red")

        self.added = self.printer("added", fg="green")
        self.changed = self.printer("changed", fg="red")
        self.untracked = self.printer("untracked", fg="red")
Esempio n. 2
0
  def __init__(self, config):
    Coloring.__init__(self, config, 'status')
    self.project   = self.printer('header',    attr = 'bold')
    self.branch    = self.printer('header',    attr = 'bold')
    self.nobranch  = self.printer('nobranch',  fg = 'red')
    self.important = self.printer('important', fg = 'red')

    self.added     = self.printer('added',     fg = 'green')
    self.changed   = self.printer('changed',   fg = 'red')
    self.untracked = self.printer('untracked', fg = 'red')
Esempio n. 3
0
 def __init__(self, config, cmd):
   Coloring.__init__(self, config, cmd)
Esempio n. 4
0
 def __init__(self, config):
   Coloring.__init__(self, config, 'diff')
   self.project   = self.printer('header',    attr = 'bold')
Esempio n. 5
0
 def __init__(self, config):
   Coloring.__init__(self, config, 'reposync')
   self.project   = self.printer('header', attr = 'bold')
   self.info      = self.printer('info')
   self.fail      = self.printer('fail', fg='red')
Esempio n. 6
0
File: info.py Progetto: MinHuZ/repo
 def __init__(self, config):
   Coloring.__init__(self, config, "status")
Esempio n. 7
0
 def __init__(self, config):
     Coloring.__init__(self, config, "grep")
     self.project = self.printer("project", attr="bold")
Esempio n. 8
0
      def __init__(self, gc):
        Coloring.__init__(self, gc, 'help')
        self.heading = self.printer('heading', attr='bold')

        self.wrap = AbstractFormatter(DumbWriter())
Esempio n. 9
0
File: stage.py Progetto: MinHuZ/repo
 def __init__(self, gc):
   Coloring.__init__(self, gc, 'interactive')
   self.prompt = self.printer('prompt', fg='blue', attr='bold')
   self.header = self.printer('header', attr='bold')
   self.help = self.printer('help', fg='red', attr='bold')
Esempio n. 10
0
 def __init__(self, config):
     Coloring.__init__(self, config, "status")
     self.project = self.printer("header", attr="bold")
Esempio n. 11
0
 def __init__(self, gc):
     Coloring.__init__(self, gc, 'interactive')
     self.prompt = self.printer('prompt', fg='blue', attr='bold')
     self.header = self.printer('header', attr='bold')
     self.help = self.printer('help', fg='red', attr='bold')
Esempio n. 12
0
 def __init__(self, config):
   Coloring.__init__(self, config, 'status')
   self.project = self.printer('header', attr='bold')
   self.text = self.printer('text')
Esempio n. 13
0
 def __init__(self, config):
     Coloring.__init__(self, config, "diff")
     self.project = self.printer("header", attr="bold")
Esempio n. 14
0
 def __init__(self, config):
     Coloring.__init__(self, config, "reposync")
     self.project = self.printer("header", attr="bold")
     self.info = self.printer("info")
     self.fail = self.printer("fail", fg="red")
Esempio n. 15
0
 def __init__(self, config):
     Coloring.__init__(self, config, "branch")
     self.current = self.printer("current", fg="green")
     self.local = self.printer("local")
     self.notinproject = self.printer("notinproject", fg="red")
Esempio n. 16
0
File: help.py Progetto: MinHuZ/repo
            def __init__(self, gc):
                Coloring.__init__(self, gc, "help")
                self.heading = self.printer("heading", attr="bold")

                self.wrap = AbstractFormatter(DumbWriter())
Esempio n. 17
0
 def __init__(self, gc):
     Coloring.__init__(self, gc, "interactive")
     self.prompt = self.printer("prompt", fg="blue", attr="bold")
     self.header = self.printer("header", attr="bold")
     self.help = self.printer("help", fg="red", attr="bold")
Esempio n. 18
0
 def __init__(self, config):
   Coloring.__init__(self, config, 'rebase')
   self.project = self.printer('project', attr='bold')
   self.fail = self.printer('fail', fg='red')
Esempio n. 19
0
 def __init__(self, config):
   Coloring.__init__(self, config, 'status')
   self.project = self.printer('header', attr='bold')
   self.text = self.printer('text')
Esempio n. 20
0
 def __init__(self, config):
     Coloring.__init__(self, config, 'branch')
     self.current = self.printer('current', fg='green')
     self.local = self.printer('local')
     self.notinproject = self.printer('notinproject', fg='red')
Esempio n. 21
0
 def __init__(self, config):
   Coloring.__init__(self, config, 'changelog')
   self.project = self.printer('project', attr='bold')
Esempio n. 22
0
 def __init__(self, config, cmd):
     Coloring.__init__(self, config, cmd)
Esempio n. 23
0
 def __init__(self, config):
   Coloring.__init__(self, config, 'status')
   self.project = self.printer('header', attr = 'bold')
   self.untracked = self.printer('untracked', fg = 'red')
Esempio n. 24
0
 def __init__(self, config):
     Coloring.__init__(self, config, 'grep')
     self.project = self.printer('project', attr='bold')
Esempio n. 25
0
 def __init__(self, config):
   Coloring.__init__(self, config, 'branch')
   self.current = self.printer('current', fg='green')
   self.local   = self.printer('local')
   self.notinproject = self.printer('notinproject', fg='red')
Esempio n. 26
0
            def __init__(self, gc):
                Coloring.__init__(self, gc, 'help')
                self.heading = self.printer('heading', attr='bold')

                self.wrap = AbstractFormatter(DumbWriter())
Esempio n. 27
0
 def __init__(self):
     Coloring.__init__(self, gc, 'test color display')
     self._on = True
Esempio n. 28
0
 def __init__(self, config):
     Coloring.__init__(self, config, "status")
Esempio n. 29
0
 def __init__(self):
   Coloring.__init__(self, gc, 'test color display')
   self._on = True
Esempio n. 30
0
 def __init__(self, config):
     Coloring.__init__(self, config, 'status')
     self.project = self.printer('header', attr='bold')
     self.untracked = self.printer('untracked', fg='red')
Esempio n. 31
0
 def __init__(self, config):
   Coloring.__init__(self, config, 'forall')
   self.project = self.printer('project', attr='bold')
Esempio n. 32
0
 def __init__(self, config):
     Coloring.__init__(self, config, "status")
     self.project = self.printer("header", attr="bold")
     self.untracked = self.printer("untracked", fg="red")