diff mercurial/scmutil.py @ 24748:d6caadff4779

develwarn: handle the end of line inside the function itself The traceback version should not have a end of line at all. The non-traceback version will requires the same things soon.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Sun, 12 Apr 2015 14:26:11 -0400
parents bef8b17443a3
children 3ad1571d4852
line wrap: on
line diff
--- a/mercurial/scmutil.py	Sun Apr 12 14:24:28 2015 -0400
+++ b/mercurial/scmutil.py	Sun Apr 12 14:26:11 2015 -0400
@@ -177,7 +177,7 @@
     if tui.tracebackflag:
         util.debugstacktrace(msg, 2)
     else:
-        tui.write_err(msg)
+        tui.write_err(msg + '\n')
 
 def filteredhash(repo, maxrev):
     """build hash of filtered revisions in the current repoview.