Changeset 067a5dc46d11…
Parent 0ff506605e74…
by
Changes to 4 files · Browse files at 067a5dc46d11 Showing diff from parent 0ff506605e74 Diff from another changeset...
@@ -45,7 +45,7 @@ branchCombo.setEditable(True)
wbu = hglib.tounicode(wctx.branch())
- for name in repo.livebranches:
+ for name in repo.namedbranches:
if name == wbu:
continue
branchCombo.addItem(name)
|
@@ -209,7 +209,7 @@
_uiprops = '''_uifiles _uimtime _shell postpull tabwidth maxdiff
deadbranches _exts _thghiddentags displayname summarylen
- shortname mergetools livebranches namedbranches'''.split()
+ shortname mergetools namedbranches'''.split()
_thgrepoprops = '''_thgmqpatchnames thgmqunappliedpatches
_branchheads'''.split()
@@ -241,22 +241,6 @@ return changectx
@propertycache
- def livebranches(self):
- '''return a list of live branch names in unicode'''
- lives = []
- cl = self.changelog
- for branch, heads in self.branchmap().iteritems():
- if branch in self.deadbranches:
- continue
- bheads = [h for h in heads if ('close' not in cl.read(h)[5])]
- if not bheads:
- # ignore branches with all heads closed
- continue
- lives.append(hglib.tounicode(branch))
- lives.sort()
- return lives
-
- @propertycache
def _thghiddentags(self):
ht = self.ui.config('tortoisehg', 'hidetags', '')
return [t.strip() for t in ht.split()]
|
@@ -58,7 +58,7 @@ rev = str(rev)
combo.addItem(hglib.tounicode(rev))
combo.setCurrentIndex(0)
- for name in self.repo.livebranches:
+ for name in self.repo.namedbranches:
combo.addItem(name)
tags = list(self.repo.tags())
|
@@ -52,7 +52,7 @@ combo.addItem(hglib.tounicode(rev))
combo.setCurrentIndex(0)
- for name in repo.livebranches:
+ for name in repo.namedbranches:
combo.addItem(name)
tags = list(self.repo.tags())
|
Loading...