mq: no longer refer to deprecated qinit -c command stable
authorCédric Duval <cedricduval@free.fr>
Sun, 14 Mar 2010 19:21:24 +0100
branchstable
changeset 10690 ea85c01c7835
parent 10689 3b3bf520b428
child 10691 a778a367c20b
mq: no longer refer to deprecated qinit -c command
hgext/mq.py
tests/test-mq.out
--- a/hgext/mq.py	Sun Mar 14 19:17:06 2010 +0100
+++ b/hgext/mq.py	Sun Mar 14 19:21:24 2010 +0100
@@ -1879,7 +1879,7 @@
     default. Use -p <url> to change.
 
     The patch directory must be a nested Mercurial repository, as
-    would be created by qinit -c.
+    would be created by init --mq.
     '''
     def patchdir(repo):
         url = repo.url()
@@ -1897,7 +1897,7 @@
         hg.repository(ui, patchespath)
     except error.RepoError:
         raise util.Abort(_('versioned patch repository not found'
-                           ' (see qinit -c)'))
+                           ' (see init --mq)'))
     qbase, destrev = None, None
     if sr.local():
         if sr.mq.applied:
--- a/tests/test-mq.out	Sun Mar 14 19:17:06 2010 +0100
+++ b/tests/test-mq.out	Sun Mar 14 19:21:24 2010 +0100
@@ -512,7 +512,7 @@
 summary:     add foo
 
 % qclone
-abort: versioned patch repository not found (see qinit -c)
+abort: versioned patch repository not found (see init --mq)
 adding .hg/patches/patch1
 main repo:
     rev 1: change foo