import: reword no hunks partial note
authortimeless <timeless@mozdev.org>
Tue, 22 Dec 2015 06:03:10 +0000
changeset 27488 0d1452d71317
parent 27487 4242d699de6d
child 27489 51aff98d2861
import: reword no hunks partial note Split Note into a note container
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`.