mercurial/commands.py
changeset 36111 b44a47214122
parent 36007 29b83c08afe0
child 36186 c1628a5eac87
--- a/mercurial/commands.py	Sun Feb 11 16:16:43 2018 -0800
+++ b/mercurial/commands.py	Sun Feb 11 16:21:30 2018 -0800
@@ -1551,7 +1551,7 @@
 
     extra = {}
     if opts.get('close_branch'):
-        extra['close'] = 1
+        extra['close'] = '1'
 
         if not bheads:
             raise error.Abort(_('can only close branch heads'))