changeset 31:9d595bda6f2f

Fixed buggy information printed on errors: - message lacked final newline (so further text joined it) - only first letter of path alias was printed
author Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
date Sat, 21 Nov 2015 23:34:49 +0100
parents 3f8c4b4a5cc6
children a01ab1cf7016
files mercurial_all_paths.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial_all_paths.py	Wed Nov 18 00:26:02 2015 +0100
+++ b/mercurial_all_paths.py	Sat Nov 21 23:34:49 2015 +0100
@@ -38,7 +38,7 @@
             except Exception as e:
                 if not ignore_errors:
                     raise
-                ui.warn(_('error handling %s: %s') % (path[1], e))
+                ui.warn(_('error handling %s: %s\n') % (alias, e))
 
 
 def pushall(ui, repo, **opts):