108 '(DEPRECATED)')), |
108 '(DEPRECATED)')), |
109 ('n', '', None, _('ignored (DEPRECATED)')), |
109 ('n', '', None, _('ignored (DEPRECATED)')), |
110 ('k', 'keep', None, _("do not modify working directory during " |
110 ('k', 'keep', None, _("do not modify working directory during " |
111 "strip")), |
111 "strip")), |
112 ('B', 'bookmark', [], _("remove revs only reachable from given" |
112 ('B', 'bookmark', [], _("remove revs only reachable from given" |
113 " bookmark"))], |
113 " bookmark"), _('BOOKMARK'))], |
114 _('hg strip [-k] [-f] [-B bookmark] [-r] REV...'), |
114 _('hg strip [-k] [-f] [-B bookmark] [-r] REV...'), |
115 helpcategory=command.CATEGORY_MAINTENANCE) |
115 helpcategory=command.CATEGORY_MAINTENANCE) |
116 def stripcmd(ui, repo, *revs, **opts): |
116 def stripcmd(ui, repo, *revs, **opts): |
117 """strip changesets and all their descendants from the repository |
117 """strip changesets and all their descendants from the repository |
118 |
118 |