D2157: py3: use string for "close" value in commit extras

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Mon Feb 12 21:48:26 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb44a47214122: py3: use string for "close" value in commit extras (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2157?vs=5458&id=5583

REVISION DETAIL
  https://phab.mercurial-scm.org/D2157

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -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'))



To: indygreg, #hg-reviewers, pulkit, durin42
Cc: pulkit, mercurial-devel


More information about the Mercurial-devel mailing list