Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable repomodel: append '(close)' to branch in getbranch

This will show the branch 'foo' as 'foo (close)' in the branch column
if the context is closing the branch

Changeset 12cbb1cced40

Parent 98dbb317b280

by Adrian Buehlmann

Changes to one file · Browse files at 12cbb1cced40 Showing diff from parent 98dbb317b280 Diff from another changeset...

 
477
478
479
480
 
 
 
 
481
482
483
 
477
478
479
 
480
481
482
483
484
485
486
@@ -477,7 +477,10 @@
  self.layoutChanged.emit()     def getbranch(self, ctx, gnode): - return hglib.tounicode(ctx.branch()) + b = ctx.branch() + if ctx.extra().get('close'): + b += ' (close)' + return hglib.tounicode(b)     def gettags(self, ctx, gnode):   if ctx.rev() is None: