8dd04e954ca9

Clean up error message
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 03 Oct 2016 11:46:47 +0000
parents 54262d42ff7c
children 4d7402d28abf
branches/tags (none)
files prompt.py

Changes

diff -r 54262d42ff7c -r 8dd04e954ca9 prompt.py
--- a/prompt.py	Mon Oct 03 11:45:40 2016 +0000
+++ b/prompt.py	Mon Oct 03 11:46:47 2016 +0000
@@ -50,7 +50,7 @@
     if exit_code not in (0, 1): # (changesets_found, changesets_not_found)
         msg = "hg-prompt error: "
         if remote_path: # Failure likely due to bad remote. Is 255 a valid check?
-            msg += "Can't access remote '%s'\n" % remote_path
+            msg += "Can't access remote '%s'" % remote_path
         else:
             msg += "Error attempting 'hg %s'" % kind
         print msg