Mercurial > evolve
comparison tests/test-touch.t @ 702:b5a85a8909d3 stable
touch: properly handle touching multiple changeset
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 08 Feb 2013 22:44:43 +0000 |
parents | f752089479ce |
children | af74a5cdf96b |
comparison
equal
deleted
inserted
replaced
701:f752089479ce | 702:b5a85a8909d3 |
---|---|
55 $ hg log -G | 55 $ hg log -G |
56 @ 5:[0-9a-f]{12} a (re) | 56 @ 5:[0-9a-f]{12} a (re) |
57 | 57 |
58 o 4:[0-9a-f]{12} a (re) | 58 o 4:[0-9a-f]{12} a (re) |
59 | 59 |
60 | |
61 Multiple touch | |
62 | |
63 $ echo C > c | |
64 $ hg add c | |
65 $ hg commit -m c | |
66 $ echo D > d | |
67 $ hg add d | |
68 $ hg commit -m d | |
69 $ hg log -G | |
70 @ 7:[0-9a-f]{12} d (re) | |
71 | | |
72 o 6:[0-9a-f]{12} c (re) | |
73 | | |
74 o 5:[0-9a-f]{12} a (re) | |
75 | |
76 o 4:[0-9a-f]{12} a (re) | |
77 | |
78 $ hg touch 6:7 | |
79 $ hg log -G | |
80 @ 9:[0-9a-f]{12} d (re) | |
81 | | |
82 o 8:[0-9a-f]{12} c (re) | |
83 | | |
84 o 5:[0-9a-f]{12} a (re) | |
85 | |
86 o 4:[0-9a-f]{12} a (re) | |
87 | |
88 |