Patchwork [05,of,11] rebase: show nice list instead of set repr for 'computed skipped revs' debug

login
register
mail settings
Submitter Mads Kiilerich
Date Feb. 20, 2014, 1:43 a.m.
Message ID <dc8cd282881b9d340184.1392860609@localhost.localdomain>
Download mbox | patch
Permalink /patch/3711/
State Accepted
Commit bf1d91ab1efbbb3e99967a1244b836c8549928f4
Headers show

Comments

Mads Kiilerich - Feb. 20, 2014, 1:43 a.m.
# HG changeset patch
# User Mads Kiilerich <madski@unity3d.com>
# Date 1392860341 -3600
#      Thu Feb 20 02:39:01 2014 +0100
# Node ID dc8cd282881b9d340184d95084cbec5e35750ccb
# Parent  bdf3a193f125c39b99a27e2063e75ee797f3327b
rebase: show nice list instead of set repr for 'computed skipped revs' debug

Patch

diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -703,7 +703,8 @@  def restorestatus(repo):
                 if new != nullrev and new in seen:
                     skipped.add(old)
                 seen.add(new)
-        repo.ui.debug('computed skipped revs: %s\n' % skipped)
+        repo.ui.debug('computed skipped revs: %s\n' %
+                      (' '.join(str(r) for r in sorted(skipped)) or None))
         repo.ui.debug('rebase status resumed\n')
         return (originalwd, target, state, skipped,
                 collapse, keep, keepbranches, external, activebookmark)