diff -r f752089479ce -r b5a85a8909d3 tests/test-touch.t --- a/tests/test-touch.t Fri Feb 08 22:12:46 2013 +0000 +++ b/tests/test-touch.t Fri Feb 08 22:44:43 2013 +0000 @@ -57,3 +57,32 @@ o 4:[0-9a-f]{12} a (re) + +Multiple touch + + $ echo C > c + $ hg add c + $ hg commit -m c + $ echo D > d + $ hg add d + $ hg commit -m d + $ hg log -G + @ 7:[0-9a-f]{12} d (re) + | + o 6:[0-9a-f]{12} c (re) + | + o 5:[0-9a-f]{12} a (re) + + o 4:[0-9a-f]{12} a (re) + + $ hg touch 6:7 + $ hg log -G + @ 9:[0-9a-f]{12} d (re) + | + o 8:[0-9a-f]{12} c (re) + | + o 5:[0-9a-f]{12} a (re) + + o 4:[0-9a-f]{12} a (re) + +