Mercurial > evolve
comparison tests/test-obsolete.t @ 80:5d029a358252
[obsolete] add kill support
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 14 Sep 2011 19:52:57 +0200 |
parents | 9906560f585e |
children | 8ad5c760c708 |
comparison
equal
deleted
inserted
replaced
79:9906560f585e | 80:5d029a358252 |
---|---|
263 | 263 |
264 obsolete published changeset | 264 obsolete published changeset |
265 | 265 |
266 $ hg up null | 266 $ hg up null |
267 0 files updated, 0 files merged, 4 files removed, 0 files unresolved | 267 0 files updated, 0 files merged, 4 files removed, 0 files unresolved |
268 $ mkcommit toto # 8 | 268 $ mkcommit toto # 9 |
269 created new head | 269 created new head |
270 $ hg debugobsolete 8 0 | 270 $ hg id -n |
271 159dfc9fa5d3 try to obsolete immutable changeset 1f0dee641bb7 | 271 9 |
272 $ hg debugobsolete 9 0 | |
273 83b5778897ad try to obsolete immutable changeset 1f0dee641bb7 | |
272 $ qlog -r 'obsolete()' | 274 $ qlog -r 'obsolete()' |
273 3 | 275 3 |
274 - 0d3f46688ccc | 276 - 0d3f46688ccc |
277 allow to just kill changeset | |
278 | |
279 $ qlog | |
280 9 | |
281 - 83b5778897ad | |
282 8 | |
283 - 159dfc9fa5d3 | |
284 4 | |
285 - 725c380fe99b | |
286 3 | |
287 - 0d3f46688ccc | |
288 1 | |
289 - 7c3bad9141dc | |
290 0 | |
291 - 1f0dee641bb7 | |
292 | |
293 $ hg debugobsolete null 9 | |
294 $ hg up null -q # to be not based on 9 anymore | |
295 $ qlog | |
296 8 | |
297 - 159dfc9fa5d3 | |
298 4 | |
299 - 725c380fe99b | |
300 3 | |
301 - 0d3f46688ccc | |
302 1 | |
303 - 7c3bad9141dc | |
304 0 | |
305 - 1f0dee641bb7 | |
306 |