[PATCH] Update qimport help explaining how to read a patch from stdin (Issue371)

David Frey dpfrey at shaw.ca
Sat Apr 18 02:41:52 CDT 2009


# HG changeset patch
# User David Frey <dpfrey at shaw.ca>
# Date 1240039271 25200
# 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 @@
     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'],


More information about the Mercurial-devel mailing list