Mercurial > hg
changeset 26019:85f5352c7ca7
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.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 13 Aug 2015 16:27:32 +0900 |
parents | c6115c30a376 |
children | cc3a30ff9490 |
files | tests/test-diff-change.t |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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