# HG changeset patch # User David Frey # Date 2009-04-18 07:21:11 # Node ID 1f0a5a5fff4320fb561eb903c669f8c744a326b7 # Parent e8a28556a0a8b03742cf56a43bff31ae1cc72922 Update qimport help explaining how to read a patch from stdin (Issue371) diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.py +++ b/hgext/mq.py @@ -1683,6 +1683,10 @@ def qimport(ui, repo, *filename, **opts) format. See the diffs help topic for information on why this is important for preserving rename/copy information and permission changes. + + 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. """ q = repo.mq q.qimport(repo, filename, patchname=opts['name'],