changeset 5111:9cda2315c7a9

convert: Use debugsvnlog instead of git-like debug-svn-log.
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 07 Aug 2007 09:42:32 +0200
parents 2be225ea5722
children 18abf13064cb
files hgext/convert/__init__.py hgext/convert/subversion.py
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/__init__.py
+++ b/hgext/convert/__init__.py
@@ -15,7 +15,7 @@ import os, shlex, shutil, sys
 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 @@ cmdtable = {
           ('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
+++ b/hgext/convert/subversion.py
@@ -236,7 +236,7 @@ class convert_svn(converter_source):
                 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)