Mercurial > hg
diff tests/test-import @ 10384:832f35386067
import: import each patch in a file or stream as a separate change
Supports hg export <revrange>, mail messages, and mailboxes.
Does not support multiple patches in a single MIME attachment.
Closes issue167.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Sun, 07 Feb 2010 18:06:52 +0100 |
parents | f0c5c59d878d |
children | a27af7229850 |
line wrap: on
line diff
--- a/tests/test-import Sun Feb 07 16:44:55 2010 +0100 +++ b/tests/test-import Sun Feb 07 18:06:52 2010 +0100 @@ -74,6 +74,13 @@ hg --cwd a export tip | hg --cwd b import - rm -r b +echo % import two patches in one stream +hg init b +hg --cwd a export 0:tip | hg --cwd b import - +hg --cwd a id +hg --cwd b id +rm -r b + echo % override commit message hg clone -r0 a b hg --cwd a export tip | hg --cwd b import -m 'override' -