repoview: add missing newline character in debug prints stable
authorLaurent Charignon <lcharignon@fb.com>
Wed, 20 Jan 2016 13:40:59 -0800
branchstable
changeset 27916 9a09a9cfa503
parent 27915 5f2a308bac94
child 27917 97e0dc6d248c
repoview: add missing newline character in debug prints
mercurial/repoview.py
--- a/mercurial/repoview.py	Wed Jan 20 00:08:00 2016 +0900
+++ b/mercurial/repoview.py	Wed Jan 20 13:40:59 2016 -0800
@@ -126,9 +126,9 @@
         fh = repo.vfs.open(cachefile, 'w+b', atomictemp=True)
         _writehiddencache(fh, newhash, hidden)
     except (IOError, OSError):
-        repo.ui.debug('error writing hidden changesets cache')
+        repo.ui.debug('error writing hidden changesets cache\n')
     except error.LockHeld:
-        repo.ui.debug('cannot obtain lock to write hidden changesets cache')
+        repo.ui.debug('cannot obtain lock to write hidden changesets cache\n')
     finally:
         if fh:
             fh.close()