Mercurial > evolve
diff hgext/evolve.py @ 1756:a7dcfff8c4a9 stable
evolve: use single quotes in usage messages
Mercurial core has moved in this direction, so let's follow.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 28 Oct 2016 17:15:57 -0700 |
parents | 6c78a5470583 |
children | 727c7211c810 |
line wrap: on
line diff
--- a/hgext/evolve.py Fri Oct 28 17:11:43 2016 -0700 +++ b/hgext/evolve.py Fri Oct 28 17:15:57 2016 -0700 @@ -689,7 +689,7 @@ if repo['.'].obsolete(): ui.warn(_('working directory parent is obsolete!\n')) if (not ui.quiet) and obsolete.isenabled(repo, commandopt): - ui.warn(_('(use "hg evolve" to update to its successor)\n')) + ui.warn(_("(use 'hg evolve' to update to its successor)\n")) @eh.wrapcommand("update") @eh.wrapcommand("pull") @@ -1945,8 +1945,8 @@ _evolvestatewrite(repo, {'current': orig.node()}) repo.ui.write_err(_('evolve failed!\n')) repo.ui.write_err( - _('fix conflict and run "hg evolve --continue"' - ' or use "hg update -C ." to abort\n')) + _("fix conflict and run 'hg evolve --continue'" + " or use 'hg update -C .' to abort\n")) raise def _solvebumped(ui, repo, bumped, dryrun=False, confirm=False, @@ -2002,7 +2002,7 @@ repo.opener.write('graftstate', bumped.hex() + '\n') repo.ui.write_err(_('evolution failed!\n')) repo.ui.write_err( - _('fix conflict and run "hg evolve --continue"\n')) + _("fix conflict and run 'hg evolve --continue'\n")) raise # Create the new commit context repo.ui.status(_('computing new diff\n')) @@ -2364,7 +2364,7 @@ ui.warn(_("ambigious next (unstable) changeset:\n")) for c in aspchildren: displayer.show(repo[c]) - ui.warn(_('(run "hg evolve --rev REV" on one of them)\n')) + ui.warn(_("(run 'hg evolve --rev REV' on one of them)\n")) return 1 else: cmdutil.bailifchanged(repo) @@ -2508,7 +2508,7 @@ if not cp.mutable(): # note: createmarkers() would have raised something anyway raise error.Abort('cannot prune immutable changeset: %s' % cp, - hint='see "hg help phases" for details') + hint="see 'hg help phases' for details") precs.append(cp) if not precs: raise error.Abort('nothing to prune') @@ -2832,7 +2832,7 @@ updatebookmarks(newid) if not repo[newid].files(): ui.warn(_("new changeset is empty\n")) - ui.status(_('(use "hg prune ." to remove it)\n')) + ui.status(_("(use 'hg prune .' to remove it)\n")) tr.close() finally: lockmod.release(tr, lock, wlock)