comparison tests/test-stabilize-order.t @ 699:dba3ed9f2c4f stable

amend: prune replacement commit without sucessors This align with the core behavior of `commit --amend`. All user of rewrite are not responsible for creating their own marker.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 08 Feb 2013 21:43:00 +0000
parents 415540dee2bd
children e10fdb190aa1
comparison
equal deleted inserted replaced
698:b21437d19ea2 699:dba3ed9f2c4f
100 $ hg debugobsolete > successors.new 100 $ hg debugobsolete > successors.new
101 $ diff -u successors.old successors.new 101 $ diff -u successors.old successors.new
102 --- successors.old* (glob) 102 --- successors.old* (glob)
103 +++ successors.new* (glob) 103 +++ successors.new* (glob)
104 @@ -3,3 +3,4 @@ 104 @@ -3,3 +3,4 @@
105 3a4a591493f80708e46f2bf6d3b4debfad8ff91e f5ff10856e5ab3c8dc420b9c11460e6832a3b78c 0 {'date': '* *', 'user': 'test'} (glob)
106 93418d2c0979643ad446f621195e78720edb05b4 f5ff10856e5ab3c8dc420b9c11460e6832a3b78c 0 {'date': '* *', 'user': 'test'} (glob) 105 93418d2c0979643ad446f621195e78720edb05b4 f5ff10856e5ab3c8dc420b9c11460e6832a3b78c 0 {'date': '* *', 'user': 'test'} (glob)
106 3a4a591493f80708e46f2bf6d3b4debfad8ff91e 0 {'date': '* *', 'user': 'test'} (glob)
107 ab8cbb6d87ff3ab5526735a051cba6b63f3d6775 6bf44048e43f830accbf7d2bd7bc252ad7a3b99c 0 {'date': '* *', 'user': 'test'} (glob) 107 ab8cbb6d87ff3ab5526735a051cba6b63f3d6775 6bf44048e43f830accbf7d2bd7bc252ad7a3b99c 0 {'date': '* *', 'user': 'test'} (glob)
108 +7a7552255fb5f8bd745e46fba6f0ca633a4dd716 5e819fbb0d278117c0a83b7f6f6486689732cfb2 0 {'date': '* *', 'user': 'test'} (glob) 108 +7a7552255fb5f8bd745e46fba6f0ca633a4dd716 5e819fbb0d278117c0a83b7f6f6486689732cfb2 0 {'date': '* *', 'user': 'test'} (glob)
109 [1] 109 [1]
110 $ glog 110 $ glog
111 @ 9:5e819fbb0d27@default(draft) addc 111 @ 9:5e819fbb0d27@default(draft) addc