79 ('f', 'force', None, _('force removal of changesets, discard ' |
79 ('f', 'force', None, _('force removal of changesets, discard ' |
80 'uncommitted changes (no backup)')), |
80 'uncommitted changes (no backup)')), |
81 ('', 'no-backup', None, _('no backups')), |
81 ('', 'no-backup', None, _('no backups')), |
82 ('', 'nobackup', None, _('no backups (DEPRECATED)')), |
82 ('', 'nobackup', None, _('no backups (DEPRECATED)')), |
83 ('n', '', None, _('ignored (DEPRECATED)')), |
83 ('n', '', None, _('ignored (DEPRECATED)')), |
84 ('k', 'keep', None, _("do not modify working copy during strip")), |
84 ('k', 'keep', None, _("do not modify working directory during " |
|
85 "strip")), |
85 ('B', 'bookmark', '', _("remove revs only reachable from given" |
86 ('B', 'bookmark', '', _("remove revs only reachable from given" |
86 " bookmark"))], |
87 " bookmark"))], |
87 _('hg strip [-k] [-f] [-n] [-B bookmark] [-r] REV...')) |
88 _('hg strip [-k] [-f] [-n] [-B bookmark] [-r] REV...')) |
88 def stripcmd(ui, repo, *revs, **opts): |
89 def stripcmd(ui, repo, *revs, **opts): |
89 """strip changesets and all their descendants from the repository |
90 """strip changesets and all their descendants from the repository |