changeset 782:1f1aeb1f5ffc

svnexternals: missing EOL in ui.warn()
author Patrick Mezard <pmezard@gmail.com>
date Thu, 20 Jan 2011 09:57:26 +0100
parents 16252bea2026
children 7913a82a8cdd
files hgsubversion/svnexternals.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svnexternals.py
+++ b/hgsubversion/svnexternals.py
@@ -128,7 +128,8 @@ def resolvesource(ui, svnroot, source):
         if svnroot is None:
             raise RelativeSourceError()
         return svnroot + source[1:]
-    ui.warn(_('ignoring unsupported non-fully qualified external: %r' % source))
+    ui.warn(_('ignoring unsupported non-fully qualified external: %r\n'
+              % source))
     return None
 
 def parsedefinitions(ui, repo, svnroot, exts):
@@ -141,7 +142,7 @@ def parsedefinitions(ui, repo, svnroot, 
             try:
                 path, rev, source, pegrev, norevline = parsedefinition(line)
             except BadDefinition:
-                ui.warn(_('ignoring invalid external definition: %r' % line))
+                ui.warn(_('ignoring invalid external definition: %r\n' % line))
                 continue
             source = resolvesource(ui, svnroot, source)
             if source is None: