Submitter | phabricator |
---|---|
Date | April 11, 2018, 12:32 p.m. |
Message ID | <1eb7737170820010dcacf319c589e66c@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/30692/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py --- a/mercurial/scmutil.py +++ b/mercurial/scmutil.py @@ -498,6 +498,11 @@ except KeyError: pass + node = repo.unfiltered().changelog._partialmatch(symbol) + if node is not None: + rev = repo.changelog.rev(node) + return repo[rev] + return repo[symbol] except error.WdirUnsupported: