# HG changeset patch # User timeless # Date 1450764190 0 # Node ID 0d1452d71317e9432821e6a16eed7e06bc027b83 # Parent 4242d699de6d76caf378d5fd94c86fea081d5445 import: reword no hunks partial note Split Note into a note container diff -r 4242d699de6d -r 0d1452d71317 mercurial/commands.py --- a/mercurial/commands.py Tue Dec 22 05:46:23 2015 +0000 +++ b/mercurial/commands.py Tue Dec 22 06:03:10 2015 +0000 @@ -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`.