# HG changeset patch # User Nicolas Dumazet # Date 2010-07-23 14:43:43 # Node ID 52c863295754399f055fdb13d6b080b63c4aa50e # Parent da0b9109186d542e2cca60f3a044d73545abadd7 mq: document possible combination of -e and -n for qimport diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.py +++ b/hgext/mq.py @@ -1817,6 +1817,11 @@ def qimport(ui, repo, *filename, **opts) 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: