hgext/mq.py
changeset 16989 0b1d15194b3c
parent 16988 f2dbe7ba11e2
child 17059 fba17a64fa49
equal deleted inserted replaced
16988:f2dbe7ba11e2 16989:0b1d15194b3c
  2899           ('', 'nobackup', None, _('no backups (DEPRECATED)')),
  2899           ('', 'nobackup', None, _('no backups (DEPRECATED)')),
  2900           ('n', '', None, _('ignored  (DEPRECATED)')),
  2900           ('n', '', None, _('ignored  (DEPRECATED)')),
  2901           ('k', 'keep', None, _("do not modify working copy during strip")),
  2901           ('k', 'keep', None, _("do not modify working copy during strip")),
  2902           ('B', 'bookmark', '', _("remove revs only reachable from given"
  2902           ('B', 'bookmark', '', _("remove revs only reachable from given"
  2903                                   " bookmark"))],
  2903                                   " bookmark"))],
  2904           _('hg strip [-k] [-f] [-n] [-B bookmark] REV...'))
  2904           _('hg strip [-k] [-f] [-n] [-B bookmark] [-r] REV...'))
  2905 def strip(ui, repo, *revs, **opts):
  2905 def strip(ui, repo, *revs, **opts):
  2906     """strip changesets and all their descendants from the repository
  2906     """strip changesets and all their descendants from the repository
  2907 
  2907 
  2908     The strip command removes the specified changesets and all their
  2908     The strip command removes the specified changesets and all their
  2909     descendants. If the working directory has uncommitted changes, the
  2909     descendants. If the working directory has uncommitted changes, the