Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG474809790256: py3: use '%d' for integers instead of '%s'
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
( )
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | hgext/convert/monotone.py (2 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
Pulkit Goyal | Oct 12 2018, 9:51 PM |
if v: | if v: | ||||
command.append("%s:%s" % (len(v), v)) | command.append("%s:%s" % (len(v), v)) | ||||
if command: | if command: | ||||
command.insert(0, 'o') | command.insert(0, 'o') | ||||
command.append('e') | command.append('e') | ||||
command.append('l') | command.append('l') | ||||
for arg in args: | for arg in args: | ||||
command += "%s:%s" % (len(arg), arg) | command += "%d:%s" % (len(arg), arg) | ||||
command.append('e') | command.append('e') | ||||
command = ''.join(command) | command = ''.join(command) | ||||
self.ui.debug("mtn: sending '%s'\n" % command) | self.ui.debug("mtn: sending '%s'\n" % command) | ||||
self.mtnwritefp.write(command) | self.mtnwritefp.write(command) | ||||
self.mtnwritefp.flush() | self.mtnwritefp.flush() | ||||
return self.mtnstdioreadcommandoutput(command) | return self.mtnstdioreadcommandoutput(command) |