convert/svn: fix warning when repo detection failed
authorPatrick Mezard <pmezard@gmail.com>
Mon, 16 Nov 2009 14:09:31 +0100
changeset 9860 9c43089b372a
parent 9859 951ec6c7d703
child 9861 0262bb59016f
convert/svn: fix warning when repo detection failed
hgext/convert/subversion.py
--- 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: