drophack: fix to match upstream repair.strip stable
authorDurham Goode <durham@fb.com>
Fri, 13 Mar 2015 09:04:12 -0700
branchstable
changeset 1210 1f8428096078
parent 1209 fa35aeb64d32
child 1211 9523c027a240
drophack: fix to match upstream repair.strip repair.strip upstream now assumes the input nodelist is a list, so update to match it. The upstream change only affects the name of the backup bundle, so this shouldn't affect any other functionality.
hgext/drophack.py
--- a/hgext/drophack.py	Thu Mar 05 20:02:07 2015 -0500
+++ b/hgext/drophack.py	Fri Mar 13 09:04:12 2015 -0700
@@ -150,7 +150,7 @@
                 stripmarker(ui, repo, markers)
         # strip the changeset
         with timed(ui, 'strip nodes'):
-            repair.strip(ui, repo, allnodes, backup="all", topic='drophack')
+            repair.strip(ui, repo, list(allnodes), backup="all", topic='drophack')
 
     finally:
         lockmod.release(lock, wlock)