mercurial/commands.py
changeset 24455 16961d43dc89
parent 24432 e22248f6d257
child 24456 a05c6b400616
--- a/mercurial/commands.py	Wed Mar 25 15:58:31 2015 -0400
+++ b/mercurial/commands.py	Wed Mar 25 11:55:15 2015 -0700
@@ -148,7 +148,7 @@
     ('U', 'unified', '',
      _('number of lines of context to show'), _('NUM')),
     ('', 'stat', None, _('output diffstat-style summary of changes')),
-    ('', 'relative', '', _('produce diffs relative to subdirectory'), _('DIR')),
+    ('', 'root', '', _('produce diffs relative to subdirectory'), _('DIR')),
 ]
 
 mergetoolopts = [
@@ -3171,7 +3171,7 @@
     m = scmutil.match(repo[node2], pats, opts)
     cmdutil.diffordiffstat(ui, repo, diffopts, node1, node2, m, stat=stat,
                            listsubrepos=opts.get('subrepos'),
-                           relative=opts.get('relative'))
+                           root=opts.get('root'))
 
 @command('^export',
     [('o', 'output', '',