# HG changeset patch # User Patrick Mezard # Date 1182290970 -7200 # Node ID bcfb3a30a112f57890d39dcc3c0f895c49def622 # Parent 8e37342cb05deb1a0def9118492a68ead73320ab Fix debugrename --rev option diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2760,7 +2760,9 @@ table = { "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,