D5739: montone: fix addition to list by using .append() instead of '+'
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Fri Feb 1 23:31:25 UTC 2019
pulkit updated this revision to Diff 13677.
pulkit retitled this revision from "py3: use pycompat.bytestr() so that slicing does not result in ascii values" to "montone: fix addition to list by using .append() instead of '+'".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5739?vs=13561&id=13677
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