changeset 35466:7906354cbc68

debug: add newlines at the end of three locations that appear to need it Differential Revision: https://phab.mercurial-scm.org/D1720
author Kyle Lippincott <spectral@google.com>
date Mon, 18 Dec 2017 17:33:43 -0800
parents 3bb1a647ab42
children d6cfa722b044
files hgext/patchbomb.py mercurial/bundle2.py mercurial/dispatch.py
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/patchbomb.py	Mon Dec 18 17:33:08 2017 -0800
+++ b/hgext/patchbomb.py	Mon Dec 18 17:33:43 2017 -0800
@@ -632,7 +632,7 @@
     # check if revision exist on the public destination
     publicurl = repo.ui.config('patchbomb', 'publicurl')
     if publicurl:
-        repo.ui.debug('checking that revision exist in the public repo')
+        repo.ui.debug('checking that revision exist in the public repo\n')
         try:
             publicpeer = hg.peer(repo, {}, publicurl)
         except error.RepoError:
@@ -640,7 +640,7 @@
                               % publicurl)
             raise
         if not publicpeer.capable('known'):
-            repo.ui.debug('skipping existence checks: public repo too old')
+            repo.ui.debug('skipping existence checks: public repo too old\n')
         else:
             out = [repo[r] for r in revs]
             known = publicpeer.known(h.node() for h in out)
--- a/mercurial/bundle2.py	Mon Dec 18 17:33:08 2017 -0800
+++ b/mercurial/bundle2.py	Mon Dec 18 17:33:43 2017 -0800
@@ -2056,7 +2056,7 @@
     # The mergemarkers call will crash if marker creation is not enabled.
     # we want to avoid this if the part is advisory.
     if not inpart.mandatory and op.repo.obsstore.readonly:
-        op.repo.ui.debug('ignoring obsolescence markers, feature not enabled')
+        op.repo.ui.debug('ignoring obsolescence markers, feature not enabled\n')
         return
     new = op.repo.obsstore.mergemarkers(tr, markerdata)
     op.repo.invalidatevolatilesets()
--- a/mercurial/dispatch.py	Mon Dec 18 17:33:08 2017 -0800
+++ b/mercurial/dispatch.py	Mon Dec 18 17:33:43 2017 -0800
@@ -451,7 +451,7 @@
                         return m.group()
                     else:
                         ui.debug("No argument found for substitution "
-                                 "of %i variable in alias '%s' definition."
+                                 "of %i variable in alias '%s' definition.\n"
                                  % (int(m.groups()[0]), self.name))
                         return ''
                 cmd = re.sub(br'\$(\d+|\$)', _checkvar, self.definition[1:])