diff tests/test-diff-subdir.t @ 24455:16961d43dc89

diff: rename --relative option to --root The diff output format is unable to express files outside the directory so it makes sense to name this option --root instead of --relative.
author Sean Farley <sean@farley.io>
date Wed, 25 Mar 2015 11:55:15 -0700
parents e22248f6d257
children
line wrap: on
line diff
--- a/tests/test-diff-subdir.t	Wed Mar 25 15:58:31 2015 -0400
+++ b/tests/test-diff-subdir.t	Wed Mar 25 11:55:15 2015 -0700
@@ -47,7 +47,7 @@
 relative to beta
 
   $ cd ..
-  $ hg diff --nodates --relative beta
+  $ hg diff --nodates --root beta
   diff -r 7d5ef1aea329 two
   --- a/two
   +++ b/two
@@ -57,7 +57,7 @@
 inside beta
 
   $ cd beta
-  $ hg diff --nodates --relative .
+  $ hg diff --nodates --root .
   diff -r 7d5ef1aea329 two
   --- a/two
   +++ b/two