2760 ('f', 'force', None, _('force removal of changesets, discard ' |
2760 ('f', 'force', None, _('force removal of changesets, discard ' |
2761 'uncommitted changes (no backup)')), |
2761 'uncommitted changes (no backup)')), |
2762 ('b', 'backup', None, _('bundle only changesets with local revision' |
2762 ('b', 'backup', None, _('bundle only changesets with local revision' |
2763 ' number greater than REV which are not' |
2763 ' number greater than REV which are not' |
2764 ' descendants of REV (DEPRECATED)')), |
2764 ' descendants of REV (DEPRECATED)')), |
2765 ('n', 'no-backup', None, _('no backups')), |
2765 ('', 'no-backup', None, _('no backups')), |
2766 ('', 'nobackup', None, _('no backups (DEPRECATED)')), |
2766 ('', 'nobackup', None, _('no backups (DEPRECATED)')), |
|
2767 ('n', '', None, _('ignored (DEPRECATED)')), |
2767 ('k', 'keep', None, _("do not modify working copy during strip"))], |
2768 ('k', 'keep', None, _("do not modify working copy during strip"))], |
2768 _('hg strip [-k] [-f] [-n] REV...')) |
2769 _('hg strip [-k] [-f] [-n] REV...')) |
2769 def strip(ui, repo, *revs, **opts): |
2770 def strip(ui, repo, *revs, **opts): |
2770 """strip changesets and all their descendants from the repository |
2771 """strip changesets and all their descendants from the repository |
2771 |
2772 |