mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 09:48:05 +03:00
9a19e06fee
Summary: Move the strip extension to core. Rename the command to `hg debugstrip` as it is not intended for use by users. Users should use `hg hide` instead. Reviewed By: quark-zju Differential Revision: D14185822 fbshipit-source-id: ef096488cb94b72a7bb79f5bf153c064e0555b34
51 lines
872 B
Perl
51 lines
872 B
Perl
Test bookmark -D
|
|
$ cd $TESTTMP
|
|
$ hg init book-D
|
|
$ cd book-D
|
|
$ cat >> .hg/hgrc <<EOF
|
|
> [extensions]
|
|
> amend=
|
|
> tweakdefaults=
|
|
> [experimental]
|
|
> evolution=all
|
|
> EOF
|
|
$ hg debugbuilddag '+4*2*2*2'
|
|
$ hg bookmark -i -r 1 master
|
|
$ hg bookmark -i -r 5 feature1
|
|
$ hg bookmark -i -r 6 feature2
|
|
$ hg log -G -T '{rev} {bookmarks}' -r 'all()'
|
|
o 6 feature2
|
|
|
|
|
| o 5 feature1
|
|
| |
|
|
o | 4
|
|
| |
|
|
| o 3
|
|
|/
|
|
o 2
|
|
|
|
|
o 1 master
|
|
|
|
|
o 0
|
|
|
|
$ hg bookmark -D feature1
|
|
bookmark 'feature1' deleted
|
|
2 changesets pruned
|
|
hint[strip-hide]: 'hg strip' may be deprecated in the future - use 'hg hide' instead
|
|
hint[hint-ack]: use 'hg hint --ack strip-hide' to silence these hints
|
|
$ hg log -G -T '{rev} {bookmarks}' -r 'all()' --hidden
|
|
o 6 feature2
|
|
|
|
|
| x 5
|
|
| |
|
|
o | 4
|
|
| |
|
|
| x 3
|
|
|/
|
|
o 2
|
|
|
|
|
o 1 master
|
|
|
|
|
o 0
|
|
|