relocate: look up partial nodeids in unfiltered repo
authorMartin von Zweigbergk <martinvonz@google.com>
Mon, 16 Apr 2018 10:58:06 -0700
changeset 3666 af9981930dbd
parent 3665 0f0f31351d6d
child 3667 a346b1641dfa
relocate: look up partial nodeids in unfiltered repo This accidentally changed to using the filtered repo in commit 0f0f3135.
hgext3rd/evolve/evolvecmd.py
--- a/hgext3rd/evolve/evolvecmd.py	Mon Apr 16 17:11:27 2018 +0200
+++ b/hgext3rd/evolve/evolvecmd.py	Mon Apr 16 10:58:06 2018 -0700
@@ -508,7 +508,7 @@
     sha1s = re.findall(sha1re, commitmsg)
     unfi = repo.unfiltered()
     for sha1 in sha1s:
-        fullnode = scmutil.resolvepartialhexnodeid(repo, sha1)
+        fullnode = scmutil.resolvepartialhexnodeid(unfi, sha1)
         if fullnode is None:
             continue
         ctx = unfi[fullnode]