comparison 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
comparison
equal deleted inserted replaced
1000:8043ae3612e4 1001:f7f4a1fac6c0
52 created new head 52 created new head
53 $ mkcommit A1 53 $ mkcommit A1
54 $ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa `getid 'desc(A0)'` 54 $ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa `getid 'desc(A0)'`
55 $ hg debugobsolete `getid 'desc(B0)'` `getid 'desc(B1)'` 55 $ hg debugobsolete `getid 'desc(B0)'` `getid 'desc(B1)'`
56 $ hg debugobsolete `getid 'desc(A0)'` `getid 'desc(A1)'` 56 $ hg debugobsolete `getid 'desc(A0)'` `getid 'desc(A1)'`
57 invalid branchheads cache (served): tip differs
58 $ hg log -G --hidden 57 $ hg log -G --hidden
59 @ 8c0a98c83722 (draft): A1 58 @ 8c0a98c83722 (draft): A1
60 | 59 |
61 o f6298a8ac3a4 (draft): B1 60 o f6298a8ac3a4 (draft): B1
62 | 61 |