Patchwork D2146: py3: port string formatting

login
register
mail settings
Submitter phabricator
Date Feb. 12, 2018, 2:35 a.m.
Message ID <4dabdbe12b892273157f2942e2302d0f@localhost.localdomain>
Download mbox | patch
Permalink /patch/27619/
State Not Applicable
Headers show

Comments

phabricator - Feb. 12, 2018, 2:35 a.m.
indygreg updated this revision to Diff 5452.
indygreg edited the summary of this revision.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2146?vs=5431&id=5452

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

AFFECTED FILES
  hgext/rebase.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -289,7 +289,7 @@ 
                     skipped.add(old)
                 seen.add(new)
         repo.ui.debug('computed skipped revs: %s\n' %
-                        (' '.join(str(r) for r in sorted(skipped)) or None))
+                        (' '.join('%d' % r for r in sorted(skipped)) or ''))
         repo.ui.debug('rebase status resumed\n')
 
         self.originalwd = originalwd