Mercurial > hg > mercurial-crew
changeset 28135:0d1452d71317
import: reword no hunks partial note
Split Note into a note container
author | timeless <timeless@mozdev.org> |
---|---|
date | Tue, 22 Dec 2015 06:03:10 +0000 |
parents | 4242d699de6d |
children | 51aff98d2861 |
files | mercurial/commands.py |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -4607,9 +4607,12 @@ by hand before :hg:`commit --amend` is run to update the created changeset. This flag exists to let people import patches that partially apply without losing the associated metadata (author, - date, description, ...). Note that when none of the hunk applies - cleanly, :hg:`import --partial` will create an empty changeset, - importing only the patch metadata. + date, description, ...). + + .. note:: + + When no hunks apply cleanly, :hg:`import --partial` will create + an empty changeset, importing only the patch metadata. With -s/--similarity, hg will attempt to discover renames and copies in the patch in the same way as :hg:`addremove`.