Mercurial > hg
diff tests/test-fix.t @ 40569:19e1c26213f1
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
author | Danny Hooper <hooper@google.com> |
---|---|
date | Thu, 08 Nov 2018 12:29:56 -0800 |
parents | b9557567cc3f |
children | ad71c792a8d8 |
line wrap: on
line diff
--- 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 ..