Exemplo 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")
Exemplo 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')
Exemplo n.º 3
0
 def __init__(self, config, cmd):
   Coloring.__init__(self, config, cmd)
Exemplo n.º 4
0
 def __init__(self, config):
   Coloring.__init__(self, config, 'diff')
   self.project   = self.printer('header',    attr = 'bold')
Exemplo 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')
Exemplo n.º 6
0
Arquivo: info.py Projeto: MinHuZ/repo
 def __init__(self, config):
   Coloring.__init__(self, config, "status")
Exemplo n.º 7
0
 def __init__(self, config):
     Coloring.__init__(self, config, "grep")
     self.project = self.printer("project", attr="bold")
Exemplo n.º 8
0
      def __init__(self, gc):
        Coloring.__init__(self, gc, 'help')
        self.heading = self.printer('heading', attr='bold')

        self.wrap = AbstractFormatter(DumbWriter())
Exemplo n.º 9
0
Arquivo: stage.py Projeto: 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')
Exemplo n.º 10
0
 def __init__(self, config):
     Coloring.__init__(self, config, "status")
     self.project = self.printer("header", attr="bold")
Exemplo 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')
Exemplo n.º 12
0
 def __init__(self, config):
   Coloring.__init__(self, config, 'status')
   self.project = self.printer('header', attr='bold')
   self.text = self.printer('text')
Exemplo n.º 13
0
 def __init__(self, config):
     Coloring.__init__(self, config, "diff")
     self.project = self.printer("header", attr="bold")
Exemplo 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")
Exemplo 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")
Exemplo n.º 16
0
Arquivo: help.py Projeto: MinHuZ/repo
            def __init__(self, gc):
                Coloring.__init__(self, gc, "help")
                self.heading = self.printer("heading", attr="bold")

                self.wrap = AbstractFormatter(DumbWriter())
Exemplo 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")
Exemplo 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')
Exemplo n.º 19
0
 def __init__(self, config):
   Coloring.__init__(self, config, 'status')
   self.project = self.printer('header', attr='bold')
   self.text = self.printer('text')
Exemplo 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')
Exemplo n.º 21
0
 def __init__(self, config):
   Coloring.__init__(self, config, 'changelog')
   self.project = self.printer('project', attr='bold')
Exemplo n.º 22
0
 def __init__(self, config, cmd):
     Coloring.__init__(self, config, cmd)
Exemplo 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')
Exemplo n.º 24
0
 def __init__(self, config):
     Coloring.__init__(self, config, 'grep')
     self.project = self.printer('project', attr='bold')
Exemplo 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')
Exemplo n.º 26
0
            def __init__(self, gc):
                Coloring.__init__(self, gc, 'help')
                self.heading = self.printer('heading', attr='bold')

                self.wrap = AbstractFormatter(DumbWriter())
Exemplo n.º 27
0
 def __init__(self):
     Coloring.__init__(self, gc, 'test color display')
     self._on = True
Exemplo n.º 28
0
 def __init__(self, config):
     Coloring.__init__(self, config, "status")
Exemplo n.º 29
0
 def __init__(self):
   Coloring.__init__(self, gc, 'test color display')
   self._on = True
Exemplo 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')
Exemplo n.º 31
0
 def __init__(self, config):
   Coloring.__init__(self, config, 'forall')
   self.project = self.printer('project', attr='bold')
Exemplo 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")