D3310: scmutil: use resolvehexnodeidprefix() from revsymbol()
martinvonz updated this revision to Diff 8284. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3310?vs=8261&id=8284 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 ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
D3310: scmutil: use resolvehexnodeidprefix() from revsymbol()
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 ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
D3310: scmutil: use resolvehexnodeidprefix() from revsymbol()
martinvonz updated this revision to Diff 8253. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3310?vs=8116&id=8253 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 ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel