comparison 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
comparison
equal deleted inserted replaced
1012:205d549a972f 1025:b96c9af18453
47 $ mkcommit B1 47 $ mkcommit B1
48 $ hg debugobsolete `getid 'desc(A0)'` aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 48 $ hg debugobsolete `getid 'desc(A0)'` aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
49 $ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa `getid 'desc(A1)'` 49 $ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa `getid 'desc(A1)'`
50 $ hg debugobsolete `getid 'desc(B0)'` bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 50 $ hg debugobsolete `getid 'desc(B0)'` bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
51 $ hg debugobsolete bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb `getid 'desc(B1)'` 51 $ hg debugobsolete bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb `getid 'desc(B1)'`
52 invalid branchheads cache (served): tip differs
53 $ hg log -G --hidden 52 $ hg log -G --hidden
54 @ 069b05c3876d (draft): B1 53 @ 069b05c3876d (draft): B1
55 | 54 |
56 o e5ea8f9c7314 (draft): A1 55 o e5ea8f9c7314 (draft): A1
57 | 56 |