##// END OF EJS Templates
strip: add a --keep test related to removing files from dirstate...
Christian Delahousse -
r27177:e76b27a6 default
parent child Browse files
Show More
@@ -552,12 +552,19 b' Strip adds, removes, modifies with --kee'
552 552 $ echo b > b
553 553 $ echo d > d
554 554 $ hg strip --keep tip
555 saved backup bundle to $TESTTMP/test/.hg/strip-backup/57e364c8a475-4cfed93c-backup.hg (glob)
555 saved backup bundle to $TESTTMP/test/.hg/strip-backup/*-backup.hg (glob)
556 556 $ hg status
557 557 M b
558 558 ! bar
559 559 ? c
560 560 ? d
561
562 ... after updating the dirstate
563 $ hg add c
564 $ hg commit -mc
565 $ hg rm c
566 $ hg commit -mc
567 $ hg strip --keep '.^' -q
561 568 $ cd ..
562 569
563 570 stripping many nodes on a complex graph (issue3299)
General Comments 0
You need to be logged in to leave comments. Login now