# HG changeset patch # User Yuya Nishihara # Date 2015-08-13 07:27:32 # Node ID 85f5352c7ca7aaf141e320fc7b7a2f0ae5755f2d # Parent c6115c30a37673cc47979be9e061ee64fbfbd33b revpair: update test to make a difference if odd range not handled specially It was added at 2a0efa1112ac, but there was no difference between -r2 and -r2:2 because the working directory was clean. diff --git a/tests/test-diff-change.t b/tests/test-diff-change.t --- a/tests/test-diff-change.t +++ b/tests/test-diff-change.t @@ -29,15 +29,25 @@ Testing diff --change -first +second + $ cd .. + Test dumb revspecs (issue3474) + $ hg clone -q a dumbspec + $ cd dumbspec + $ echo "wdir" > file.txt + $ hg diff -r 2:2 $ hg diff -r "2 and 1" abort: empty revision range [255] + $ cd .. + Testing diff --change when merge: + $ cd a + $ for i in 1 2 3 4 5 6 7 8 9 10; do > echo $i >> file.txt > done