Mercurial > public > mercurial-scm > hg
diff hgext/histedit.py @ 29970:5ad164698626
histedit: use single quotes in use warning
author | timeless <timeless@mozdev.org> |
---|---|
date | Tue, 20 Sep 2016 23:45:25 +0000 |
parents | 6d66200bff3b |
children | 4d9999e43ff7 |
line wrap: on
line diff
--- a/hgext/histedit.py Tue Sep 20 23:45:15 2016 +0000 +++ b/hgext/histedit.py Tue Sep 20 23:45:25 2016 +0000 @@ -854,7 +854,7 @@ roots = list(repo.revs("roots(%ln)", outgoing.missing)) if 1 < len(roots): msg = _('there are ambiguous outgoing revisions') - hint = _('see "hg help histedit" for more detail') + hint = _("see 'hg help histedit' for more detail") raise error.Abort(msg, hint=hint) return repo.lookup(roots[0]) @@ -1290,7 +1290,7 @@ root = ctxs[0] # list is already sorted by repo.set if not root.mutable(): raise error.Abort(_('cannot edit public changeset: %s') % root, - hint=_('see "hg help phases" for details')) + hint=_("see 'hg help phases' for details")) return [c.node() for c in ctxs] def ruleeditor(repo, ui, actions, editcomment=""): @@ -1402,7 +1402,7 @@ raise error.ParseError(_('missing rules for changeset %s') % node.short(missing[0]), hint=_('use "drop %s" to discard, see also: ' - '"hg help -e histedit.config"') + "'hg help -e histedit.config'") % node.short(missing[0])) def adjustreplacementsfrommarkers(repo, oldreplacements):