Mercurial > evolve
diff tests/test-exchange-A5.t @ 1001:f7f4a1fac6c0
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 | bddee73b361e |
line wrap: on
line diff
--- a/tests/test-exchange-A5.t Sun Jul 13 21:54:03 2014 +0530 +++ b/tests/test-exchange-A5.t Fri Jul 25 14:27:16 2014 +0200 @@ -54,7 +54,6 @@ $ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa `getid 'desc(A0)'` $ hg debugobsolete `getid 'desc(B0)'` `getid 'desc(B1)'` $ hg debugobsolete `getid 'desc(A0)'` `getid 'desc(A1)'` - invalid branchheads cache (served): tip differs $ hg log -G --hidden @ 8c0a98c83722 (draft): A1 |