Submitter | via Mercurial-devel |
---|---|
Date | Feb. 10, 2017, 11:26 p.m. |
Message ID | <08b61c8629f931408318.1486769181@martinvonz.mtv.corp.google.com> |
Download | mbox | patch |
Permalink | /patch/18418/ |
State | Accepted |
Headers | show |
Comments
On Fri, 10 Feb 2017 15:26:21 -0800, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk <martinvonz@google.com> > # Date 1486769163 28800 > # Fri Feb 10 15:26:03 2017 -0800 > # Node ID 08b61c8629f931408318e099960b65812e138ec9 > # Parent a95fc01aaffe805bcc4c02a822b82a1162fa35b9 > import: mention "stdin" (abbreviated) and add example Nice. Queued, thanks.
Patch
diff -r a95fc01aaffe -r 08b61c8629f9 mercurial/commands.py --- a/mercurial/commands.py Wed Feb 08 14:37:38 2017 -0800 +++ b/mercurial/commands.py Fri Feb 10 15:26:03 2017 -0800 @@ -4129,8 +4129,9 @@ Import a list of patches and commit them individually (unless --no-commit is specified). - To read a patch from standard input, use "-" as the patch name. If - a URL is specified, the patch will be downloaded from there. + To read a patch from standard input (stdin), use "-" as the patch + name. If a URL is specified, the patch will be downloaded from + there. Import first applies changes to the working directory (unless --bypass is specified), import will abort if there are outstanding @@ -4200,6 +4201,10 @@ hg import incoming-patches.mbox + - import patches from stdin:: + + hg import - + - attempt to exactly restore an exported changeset (not always possible)::