diff hgext/rebase.py @ 20545:5936058f6bad

rebase: fix 'rebase onto %d starting from %s' - show root instead of list repr The debug statement is already in a 'for root in roots' so it was probably the intention to show root instead of roots. Do that.
author Mads Kiilerich <madski@unity3d.com>
date Sat, 15 Feb 2014 01:23:12 +0100
parents f2a0a0e76b4c
children bf1d91ab1efb
line wrap: on
line diff
--- a/hgext/rebase.py	Wed Feb 12 23:44:30 2014 +0100
+++ b/hgext/rebase.py	Sat Feb 15 01:23:12 2014 +0100
@@ -790,7 +790,7 @@
                 repo.ui.debug('source is a child of destination\n')
                 return None
 
-        repo.ui.debug('rebase onto %d starting from %s\n' % (dest, roots))
+        repo.ui.debug('rebase onto %d starting from %s\n' % (dest, root))
         state.update(dict.fromkeys(rebaseset, nullrev))
         # Rebase tries to turn <dest> into a parent of <root> while
         # preserving the number of parents of rebased changesets: