D3310: scmutil: use resolvehexnodeidprefix() from revsymbol()
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Sat Apr 14 04:12:34 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGab828755e1ea: scmutil: use resolvehexnodeidprefix() from revsymbol() (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3310?vs=8253&id=8261
REVISION DETAIL
https://phab.mercurial-scm.org/D3310
AFFECTED FILES
mercurial/scmutil.py
CHANGE DETAILS
diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py
--- a/mercurial/scmutil.py
+++ b/mercurial/scmutil.py
@@ -503,7 +503,7 @@
except KeyError:
pass
- node = repo.unfiltered().changelog._partialmatch(symbol)
+ node = resolvehexnodeidprefix(repo, symbol)
if node is not None:
rev = repo.changelog.rev(node)
return repo[rev]
To: martinvonz, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list