hgext/strip.py
changeset 24364 135b23868f45
parent 23139 e53f6b72a0e4
child 24471 1ff35d76421c
equal deleted inserted replaced
24363:852801178a63 24364:135b23868f45
    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