3783 even if some hunks fail to apply. Hunks that fail to apply will be |
3783 even if some hunks fail to apply. Hunks that fail to apply will be |
3784 written to a <target-file>.rej file. Conflicts can then be resolved |
3784 written to a <target-file>.rej file. Conflicts can then be resolved |
3785 by hand before :hg:`commit --amend` is run to update the created |
3785 by hand before :hg:`commit --amend` is run to update the created |
3786 changeset. This flag exists to let people import patches that |
3786 changeset. This flag exists to let people import patches that |
3787 partially apply without losing the associated metadata (author, |
3787 partially apply without losing the associated metadata (author, |
3788 date, description, ...), Note that when none of the hunk applies |
3788 date, description, ...). Note that when none of the hunk applies |
3789 cleanly, :hg:`import --partial` will create an empty changeset, |
3789 cleanly, :hg:`import --partial` will create an empty changeset, |
3790 importing only the patch metadata. |
3790 importing only the patch metadata. |
3791 |
3791 |
3792 To read a patch from standard input, use "-" as the patch name. If |
3792 To read a patch from standard input, use "-" as the patch name. If |
3793 a URL is specified, the patch will be downloaded from it. |
3793 a URL is specified, the patch will be downloaded from it. |