Mercurial > hg
changeset 29968:0342bf292f73
mq: use single quotes in use warning
author | timeless <timeless@mozdev.org> |
---|---|
date | Tue, 20 Sep 2016 23:44:59 +0000 |
parents | bd55d98027ee |
children | 862ab1cdb218 |
files | hgext/mq.py tests/test-mq-qimport-fail-cleanup.t tests/test-mq-qimport.t tests/test-mq-safety.t |
diffstat | 4 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/mq.py Tue Sep 20 23:44:49 2016 +0000 +++ b/hgext/mq.py Tue Sep 20 23:44:59 2016 +0000 @@ -1562,7 +1562,7 @@ if not repo[self.applied[-1].node].mutable(): raise error.Abort( _("popping would remove a public revision"), - hint=_('see "hg help phases" for details')) + hint=_("see 'hg help phases' for details")) # we know there are no local changes, so we can make a simplified # form of hg.update. @@ -1631,7 +1631,7 @@ raise error.Abort(_("cannot qrefresh a revision with children")) if not repo[top].mutable(): raise error.Abort(_("cannot qrefresh public revision"), - hint=_('see "hg help phases" for details')) + hint=_("see 'hg help phases' for details")) cparents = repo.changelog.parents(top) patchparent = self.qparents(repo, top) @@ -2117,7 +2117,7 @@ for r in rev: if not repo[r].mutable(): raise error.Abort(_('revision %d is not mutable') % r, - hint=_('see "hg help phases" ' + hint=_("see 'hg help phases' " 'for details')) p1, p2 = repo.changelog.parentrevs(r) n = repo.changelog.node(r)
--- a/tests/test-mq-qimport-fail-cleanup.t Tue Sep 20 23:44:49 2016 +0000 +++ b/tests/test-mq-qimport-fail-cleanup.t Tue Sep 20 23:44:59 2016 +0000 @@ -36,7 +36,7 @@ $ hg pull -q -r 0 . # update phase $ hg qimport -r 0 abort: revision 0 is not mutable - (see "hg help phases" for details) + (see 'hg help phases' for details) [255] $ cd ..
--- a/tests/test-mq-qimport.t Tue Sep 20 23:44:49 2016 +0000 +++ b/tests/test-mq-qimport.t Tue Sep 20 23:44:59 2016 +0000 @@ -40,7 +40,7 @@ $ hg qimport -r null abort: revision -1 is not mutable - (see "hg help phases" for details) + (see 'hg help phases' for details) [255] $ hg qseries
--- a/tests/test-mq-safety.t Tue Sep 20 23:44:49 2016 +0000 +++ b/tests/test-mq-safety.t Tue Sep 20 23:44:59 2016 +0000 @@ -26,17 +26,17 @@ $ echo babar >> foo $ hg qref abort: cannot qrefresh public revision - (see "hg help phases" for details) + (see 'hg help phases' for details) [255] $ hg revert -a reverting foo $ hg qpop abort: popping would remove a public revision - (see "hg help phases" for details) + (see 'hg help phases' for details) [255] $ hg qfold bar abort: cannot qrefresh public revision - (see "hg help phases" for details) + (see 'hg help phases' for details) [255] $ hg revert -a reverting foo