Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 15849:513ca86b88ef
phase: lowercase option help, rephrase slightly
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Fri, 13 Jan 2012 11:23:45 +0100 |
parents | cd956049fc14 |
children | 920433707a01 |
comparison
equal
deleted
inserted
replaced
15847:c47d69ce5208 | 15849:513ca86b88ef |
---|---|
4214 ui.write("%s\n" % name) | 4214 ui.write("%s\n" % name) |
4215 else: | 4215 else: |
4216 ui.write("%s = %s\n" % (name, util.hidepassword(path))) | 4216 ui.write("%s = %s\n" % (name, util.hidepassword(path))) |
4217 | 4217 |
4218 @command('^phase', | 4218 @command('^phase', |
4219 [('p', 'public', False, _('Set changeset to public')), | 4219 [('p', 'public', False, _('set changeset phase to public')), |
4220 ('d', 'draft', False, _('Set changeset to draft')), | 4220 ('d', 'draft', False, _('set changeset phase to draft')), |
4221 ('s', 'secret', False, _('Set changeset to secret')), | 4221 ('s', 'secret', False, _('set changeset phase to secret')), |
4222 ('f', 'force', False, _('allow to move boundary backward')), | 4222 ('f', 'force', False, _('allow to move boundary backward')), |
4223 ('r', 'rev', [], _('target revision')), | 4223 ('r', 'rev', [], _('target revision')), |
4224 ], | 4224 ], |
4225 _('[-p|-d|-s] [-f] [-C] [-r] REV')) | 4225 _('[-p|-d|-s] [-f] [-C] [-r] REV')) |
4226 def phase(ui, repo, *revs, **opts): | 4226 def phase(ui, repo, *revs, **opts): |