# HG changeset patch # User Danny Hooper # Date 1541708996 28800 # Node ID 19e1c26213f1d26222d9cecd595567a09e16d34b # Parent b93157f69f46a1359726be32bde4afb1e5af4384 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 diff -r b93157f69f46 -r 19e1c26213f1 tests/test-fix.t --- 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 ..