Show More
@@ -78,9 +78,6 b' def strip(ui, repo, revs, update=True, b' | |||
|
78 | 78 | 'option)'), _('REV')), |
|
79 | 79 | ('f', 'force', None, _('force removal of changesets, discard ' |
|
80 | 80 | 'uncommitted changes (no backup)')), |
|
81 | ('b', 'backup', None, _('bundle only changesets with local revision' | |
|
82 | ' number greater than REV which are not' | |
|
83 | ' descendants of REV (DEPRECATED)')), | |
|
84 | 81 | ('', 'no-backup', None, _('no backups')), |
|
85 | 82 | ('', 'nobackup', None, _('no backups (DEPRECATED)')), |
|
86 | 83 | ('n', '', None, _('ignored (DEPRECATED)')), |
@@ -524,4 +524,28 b' test hg strip -B bookmark' | |||
|
524 | 524 | $ hg bookmarks |
|
525 | 525 | * B 6:ff43616e5d0f |
|
526 | 526 | |
|
527 | $ cd .. | |
|
527 | Make sure no one adds back a -b option: | |
|
528 | ||
|
529 | $ hg strip -b tip | |
|
530 | hg strip: option -b not recognized | |
|
531 | hg strip [-k] [-f] [-n] [-B bookmark] [-r] REV... | |
|
532 | ||
|
533 | strip changesets and all their descendants from the repository | |
|
534 | ||
|
535 | use "hg help -e strip" to show help for the strip extension | |
|
536 | ||
|
537 | options: | |
|
538 | ||
|
539 | -r --rev REV [+] strip specified revision (optional, can specify revisions | |
|
540 | without this option) | |
|
541 | -f --force force removal of changesets, discard uncommitted changes | |
|
542 | (no backup) | |
|
543 | --no-backup no backups | |
|
544 | -k --keep do not modify working copy during strip | |
|
545 | -B --bookmark VALUE remove revs only reachable from given bookmark | |
|
546 | --mq operate on patch repository | |
|
547 | ||
|
548 | [+] marked option can be specified multiple times | |
|
549 | ||
|
550 | use "hg help strip" to show the full help text | |
|
551 | [255] |
General Comments 0
You need to be logged in to leave comments.
Login now