Commits

Augie Fackler committed 2f2aed6

Fix long-standing bug where a node sometimes got double-hexed.

Comments (0)

Files changed (2)

         if len(parent) != 1:
             raise util.Abort('requires exactly one parent revision')
         parent = parent[0]
+        # ensure that parent is stored as an unhexlified node
+        parent = repo[parent].node()
 
         revs = between(repo, parent, tip)
 

tests/test-histedit-commute.out

 pick e860deea161a e
 pick 652413bf663e f
 
-# Edit history between 313737663932 and 652413bf663e
+# Edit history between 177f92b77385 and 652413bf663e
 #
 # Commands:
 #  p, pick = use commit