Fix debugrename --rev option
authorPatrick Mezard <pmezard@gmail.com>
Wed, 20 Jun 2007 00:09:30 +0200
changeset 4636 bcfb3a30a112
parent 4596 8e37342cb05d
child 4637 5a088ac232e6
Fix debugrename --rev option
mercurial/commands.py
--- a/mercurial/commands.py	Sun Jun 17 19:40:02 2007 +0200
+++ b/mercurial/commands.py	Wed Jun 20 00:09:30 2007 +0200
@@ -2760,7 +2760,9 @@
     "debugdata": (debugdata, [], _('debugdata FILE REV')),
     "debugindex": (debugindex, [], _('debugindex FILE')),
     "debugindexdot": (debugindexdot, [], _('debugindexdot FILE')),
-    "debugrename": (debugrename, [], _('debugrename FILE [REV]')),
+    "debugrename": (debugrename,
+                    [('r', 'rev', '', _('revision to debug'))],
+                    _('debugrename [-r REV] FILE')),
     "debugwalk": (debugwalk, walkopts, _('debugwalk [OPTION]... [FILE]...')),
     "^diff":
         (diff,