--- a/mercurial/commands.py Mon Nov 09 17:41:21 2009 +0100
+++ b/mercurial/commands.py Sat Nov 14 14:21:53 2009 +0100
@@ -1099,7 +1099,7 @@
revs = opts.get('rev')
change = opts.get('change')
stat = opts.get('stat')
- inv = opts.get('inverse')
+ reverse = opts.get('reverse')
if revs and change:
msg = _('cannot specify --rev and --change at the same time')
@@ -1110,7 +1110,7 @@
else:
node1, node2 = cmdutil.revpair(repo, revs)
- if inv:
+ if reverse:
node1, node2 = node2, node1
if stat:
@@ -3284,7 +3284,7 @@
diffopts2 = [
('p', 'show-function', None, _('show which function each change is in')),
- ('', 'inverse', None, _('produce a diff that undoes the changes')),
+ ('', 'reverse', None, _('produce a diff that undoes the changes')),
('w', 'ignore-all-space', None,
_('ignore white space when comparing lines')),
('b', 'ignore-space-change', None,