D3055: localrepo: use revsymbol() in lookup()
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Tue Apr 3 19:36:44 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG0a1fb171dc1d: localrepo: use revsymbol() in lookup() (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3055?vs=7586&id=7595
REVISION DETAIL
https://phab.mercurial-scm.org/D3055
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
@@ -1021,7 +1021,7 @@
pass
def lookup(self, key):
- return self[key].node()
+ return scmutil.revsymbol(self, key).node()
def lookupbranch(self, key, remote=None):
repo = remote or self
To: martinvonz, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list