Mercurial > evolve
diff tests/test-exchange-D4.t @ 1025:b96c9af18453 stable
test: use `hg log` in the `getid` function
using `hg id` to retrieve full lenght node requires to use --debug. This may
include debug output (regarding branch cache invalidation for example) that
breaks the test. We now use `hg log` with a custom template. This is a simple,
clean and robust solution.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 25 Jul 2014 14:27:16 +0200 |
parents | 2cde59f3cb5d |
children | 0fcddde7dae6 |
line wrap: on
line diff
--- a/tests/test-exchange-D4.t Wed Jul 30 13:38:33 2014 -0700 +++ b/tests/test-exchange-D4.t Fri Jul 25 14:27:16 2014 +0200 @@ -49,7 +49,6 @@ $ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa `getid 'desc(A1)'` $ hg debugobsolete `getid 'desc(B0)'` bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb $ hg debugobsolete bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb `getid 'desc(B1)'` - invalid branchheads cache (served): tip differs $ hg log -G --hidden @ 069b05c3876d (draft): B1 |