cleanup: use revision numbers instead of hashes in test output
This allows changes to the hashes produced by fix to not needlessly modify this
area of the test.
Differential Revision: https://phab.mercurial-scm.org/D5244
--- a/tests/test-fix.t Wed Nov 07 15:42:56 2018 -0800
+++ b/tests/test-fix.t Thu Nov 08 12:29:56 2018 -0800
@@ -893,24 +893,24 @@
$ printf "BAR\n" > bar.whole
$ hg commit -Aqm "add bar"
- $ hg log --graph --template '{node|shortest} {files}'
- @ bc05 bar.whole
+ $ hg log --graph --template '{rev} {files}'
+ @ 2 bar.whole
|
- o 4fd2 foo.whole
+ o 1 foo.whole
|
- o f9ac foo.whole
+ o 0 foo.whole
$ hg fix -r 0:2
- $ hg log --graph --template '{node|shortest} {files}'
- o b4e2 bar.whole
+ $ hg log --graph --template '{rev} {files}'
+ o 4 bar.whole
|
- o 59f4
+ o 3
|
- | @ bc05 bar.whole
+ | @ 2 bar.whole
| |
- | x 4fd2 foo.whole
+ | x 1 foo.whole
|/
- o f9ac foo.whole
+ o 0 foo.whole
$ cd ..