mq: document possible combination of -e and -n for qimport
authorNicolas Dumazet <nicdumz.commits@gmail.com>
Fri, 23 Jul 2010 23:43:43 +0900
changeset 11700 52c863295754
parent 11699 da0b9109186d
child 11701 84fb29f5e0d2
mq: document possible combination of -e and -n for qimport
hgext/mq.py
--- a/hgext/mq.py	Wed Jul 21 11:53:09 2010 +0900
+++ b/hgext/mq.py	Fri Jul 23 23:43:43 2010 +0900
@@ -1817,6 +1817,11 @@
     To import a patch from standard input, pass - as the patch file.
     When importing from standard input, a patch name must be specified
     using the --name flag.
+
+    You can import a patch existing inside the patch repository and
+    rename it on the go::
+
+      hg qimport -e existing-patch -n new-name
     """
     q = repo.mq
     try: