comparison hgext/strip.py @ 24364:135b23868f45

commands: replace "working copy" with "working directory" in help/messages "working directory" is the standard term, we should use it consistently. But I didn't touch the hint, "run 'hg update' to get a working copy", because "get a working directory" sounds a bit odd.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 17 Mar 2015 22:47:08 +0900
parents e53f6b72a0e4
children 1ff35d76421c
comparison
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