[PATCH] rebase: add missing EOL to debug strings

Patrick Mezard patrick at mezard.eu
Sun Apr 29 10:19:06 CDT 2012


# HG changeset patch
# User Patrick Mezard <patrick at mezard.eu>
# Date 1335712457 -7200
# Branch stable
# Node ID 48754ffd0edf382f91c9156232522ab16ecced9d
# Parent  be786c5ac0a852cab965d9e541611f882bdb0bb8
rebase: add missing EOL to debug strings

diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -201,7 +201,7 @@
                 root = None
 
             if not rebaseset:
-                repo.ui.debug('base is ancestor of destination')
+                repo.ui.debug('base is ancestor of destination\n')
                 result = None
             elif not keepf and list(repo.revs('first(children(%ld) - %ld)',
                                               rebaseset, rebaseset)):
@@ -618,7 +618,7 @@
     if commonbase == dest:
         samebranch = root.branch() == dest.branch()
         if samebranch and root in dest.children():
-           repo.ui.debug('source is a child of destination')
+           repo.ui.debug('source is a child of destination\n')
            return None
         # rebase on ancestor, force detach
         detach = True


More information about the Mercurial-devel mailing list