convert: Use debugsvnlog instead of git-like debug-svn-log.
authorThomas Arendsen Hein <thomas@intevation.de>
Tue, 07 Aug 2007 09:42:32 +0200
changeset 5138 9cda2315c7a9
parent 5137 2be225ea5722
child 5139 18abf13064cb
convert: Use debugsvnlog instead of git-like debug-svn-log.
hgext/convert/__init__.py
hgext/convert/subversion.py
--- a/hgext/convert/__init__.py	Mon Aug 06 14:50:57 2007 -0700
+++ b/hgext/convert/__init__.py	Tue Aug 07 09:42:32 2007 +0200
@@ -15,7 +15,7 @@
 from mercurial import hg, ui, util, commands
 from mercurial.i18n import _
 
-commands.norepo += " convert debug-svn-log"
+commands.norepo += " convert debugsvnlog"
 
 converters = [convert_cvs, convert_git, convert_svn, mercurial_source,
               mercurial_sink]
@@ -450,9 +450,9 @@
           ('r', 'rev', '', 'import up to target revision REV'),
           ('', 'datesort', None, 'try to sort changesets by date')],
          'hg convert [OPTION]... SOURCE [DEST [MAPFILE]]'),
-    "debug-svn-log":
+    "debugsvnlog":
         (debugsvnlog,
          [],
-         'hg debug-svn-log'),
+         'hg debugsvnlog'),
 }
 
--- a/hgext/convert/subversion.py	Mon Aug 06 14:50:57 2007 -0700
+++ b/hgext/convert/subversion.py	Tue Aug 07 09:42:32 2007 +0200
@@ -236,7 +236,7 @@
                 strict_node_history]
         arg = encodeargs(args)
         hgexe = util.hgexecutable()
-        cmd = '"%s "debug-svn-log""' % util.shellquote(hgexe)
+        cmd = '"%s "debugsvnlog""' % util.shellquote(hgexe)
         stdin, stdout = os.popen2(cmd, 'b')
         
         stdin.write(arg)