changeset 9860:9c43089b372a

convert/svn: fix warning when repo detection failed
author Patrick Mezard <pmezard@gmail.com>
date Mon, 16 Nov 2009 14:09:31 +0100
parents 951ec6c7d703
children 0262bb59016f
files hgext/convert/subversion.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/subversion.py	Mon Nov 16 11:58:03 2009 +0100
+++ b/hgext/convert/subversion.py	Mon Nov 16 14:09:31 2009 +0100
@@ -154,8 +154,9 @@
     except urllib2.HTTPError, inst:
         if inst.code != 404:
             # Except for 404 we cannot know for sure this is not an svn repo
-            ui.warn(_('svn: cannot probe remote repository, assume it could be '
-                      'a subversion repository. Use --source if you know better.\n'))
+            ui.warn(_('svn: cannot probe remote repository, assume it could '
+                      'be a subversion repository. Use --source-type if you '
+                      'know better.\n'))
             return True
         data = inst.fp.read()
     except: