D3080: localrepo: use revsymbol in lookupbranch() too
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Wed Apr 4 20:50:45 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG92171562c7f3: localrepo: use revsymbol in lookupbranch() too (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3080?vs=7654&id=7666
REVISION DETAIL
https://phab.mercurial-scm.org/D3080
AFFECTED FILES
mercurial/localrepo.py
CHANGE DETAILS
diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -1023,7 +1023,7 @@
if key in self.branchmap():
return key
- return self[key].branch()
+ return scmutil.revsymbol(self, key).branch()
def known(self, nodes):
cl = self.changelog
To: martinvonz, #hg-reviewers, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list