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.
--- a/tests/test-diff-change.t Thu Aug 13 18:59:49 2015 +0900
+++ b/tests/test-diff-change.t Thu Aug 13 16:27:32 2015 +0900
@@ -29,15 +29,25 @@
-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