# HG changeset patch # User Steve Losh # Date 1475495207 0 # Node ID 8dd04e954ca9578f2485f9c95397c9ff0205b933 # Parent 54262d42ff7c28dc680a5fa7c0991fcfa42aef79 Clean up error message 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