hgext/strip.py
changeset 40293 c303d65d2e34
parent 38574 f442c9494ec7
child 40346 943248e47864
equal deleted inserted replaced
40292:9c6473d2038b 40293:c303d65d2e34
   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"))],
   114           _('hg strip [-k] [-f] [-B bookmark] [-r] REV...'))
   114           _('hg strip [-k] [-f] [-B bookmark] [-r] REV...'),
       
   115           helpcategory=command.CATEGORY_MAINTENANCE)
   115 def stripcmd(ui, repo, *revs, **opts):
   116 def stripcmd(ui, repo, *revs, **opts):
   116     """strip changesets and all their descendants from the repository
   117     """strip changesets and all their descendants from the repository
   117 
   118 
   118     The strip command removes the specified changesets and all their
   119     The strip command removes the specified changesets and all their
   119     descendants. If the working directory has uncommitted changes, the
   120     descendants. If the working directory has uncommitted changes, the