D5739: montone: fix addition to list by using .append() instead of '+'

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Fri Feb 1 19:51:56 EST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa97e000b63c8: montone: fix addition to list by using .append() instead of '+' (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5739?vs=13677&id=13682

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

AFFECTED FILES
  hgext/convert/monotone.py

CHANGE DETAILS

diff --git a/hgext/convert/monotone.py b/hgext/convert/monotone.py
--- a/hgext/convert/monotone.py
+++ b/hgext/convert/monotone.py
@@ -102,7 +102,7 @@
 
         command.append('l')
         for arg in args:
-            command += "%d:%s" % (len(arg), arg)
+            command.append("%d:%s" % (len(arg), arg))
         command.append('e')
         command = ''.join(command)
 



To: pulkit, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list