D5244: cleanup: use revision numbers instead of hashes in test output
hooper (Danny Hooper)
phabricator at mercurial-scm.org
Thu Nov 8 21:32:37 UTC 2018
hooper created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This allows changes to the hashes produced by fix to not needlessly modify this
area of the test.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5244
AFFECTED FILES
tests/test-fix.t
CHANGE DETAILS
diff --git a/tests/test-fix.t b/tests/test-fix.t
--- a/tests/test-fix.t
+++ b/tests/test-fix.t
@@ -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 ..
To: hooper, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list