debug: add newlines at the end of three locations that appear to need it
authorKyle Lippincott <spectral@google.com>
Mon, 18 Dec 2017 17:33:43 -0800
changeset 35466 7906354cbc68
parent 35465 3bb1a647ab42
child 35467 d6cfa722b044
debug: add newlines at the end of three locations that appear to need it Differential Revision: https://phab.mercurial-scm.org/D1720
hgext/patchbomb.py
mercurial/bundle2.py
mercurial/dispatch.py
--- 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:])