# HG changeset patch # User Pierre-Yves David # Date 1524038885 -7200 # Node ID cded30ad25e4772a0c462da7bcc01e1448c7fc2c # Parent 1dccccde82bb2df21695c4e6766540de3cab4f5d compat: rename resolvepartialhexnodeid to resolvehexnodeidprefix The name changed in 5f8f013e7d52 diff -r 1dccccde82bb -r cded30ad25e4 hgext3rd/evolve/evolvecmd.py --- a/hgext3rd/evolve/evolvecmd.py Tue Apr 17 19:42:46 2018 +0200 +++ b/hgext3rd/evolve/evolvecmd.py Wed Apr 18 10:08:05 2018 +0200 @@ -508,8 +508,8 @@ sha1s = re.findall(sha1re, commitmsg) unfi = repo.unfiltered() for sha1 in sha1s: - if util.safehasattr(scmutil, 'resolvepartialhexnodeid'): # > hg-4.6 - fullnode = scmutil.resolvepartialhexnodeid(unfi, sha1) + if util.safehasattr(scmutil, 'resolvehexnodeidprefix'): # > hg-4.6 + fullnode = scmutil.resolvehexnodeidprefix(unfi, sha1) else: fullnode = unfi.changelog.index.partialmatch(sha1) if fullnode is None: