##// END OF EJS Templates
test: add isolated prune case (to test-obsolete-bundle-strip.t)...
marmoute -
r32491:f2116efd default
parent child Browse files
Show More
@@ -373,3 +373,41 Actual testing
373 a9b9da38ed96f8c6c14f429441f625a344eb4696 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
373 a9b9da38ed96f8c6c14f429441f625a344eb4696 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
374 b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
374 b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
375 c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
375 c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
376
377 changeset pruned on its own
378 ===========================
379
380 . βŠ— B
381 . |
382 . β—• A
383 . |
384 . ●
385
386 setup
387 -----
388
389 $ mktestrepo lonely-prune
390 $ hg up 'desc("ROOT")'
391 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
392 $ mkcommit 'C-A'
393 $ mkcommit 'C-B'
394 $ hg debugobsolete --record-parent `getid 'desc("C-B")'`
395
396 $ hg up 'desc("ROOT")'
397 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
398 $ hg log --hidden -G
399 x cefb651fc2fd: C-B
400 |
401 o 9ac430e15fca: C-A
402 |
403 @ ea207398892e: ROOT
404
405 $ hg debugobsolete
406 cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
407
408 Actual testing
409 --------------
410 $ hg debugobsolete --rev 'desc("C-A")'
411 cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
412 $ hg debugobsolete --hidden --rev 'desc("C-B")'
413 cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
General Comments 0
You need to be logged in to leave comments. Login now