changeset 1210:1f8428096078 stable

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.
author Durham Goode <durham@fb.com>
date Fri, 13 Mar 2015 09:04:12 -0700
parents fa35aeb64d32
children 9523c027a240
files hgext/drophack.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)