[PATCH 1 of 3] export: add 'Amends' hgpatchheader line

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Nov 21 16:48:27 CST 2013


On Thu, Nov 21, 2013 at 05:33:28PM -0500, Matthew Turk wrote:
> # HG changeset patch
> # User Matthew Turk <matthewturk at gmail.com>
> # Date 1385069336 18000
> #      Thu Nov 21 16:28:56 2013 -0500
> # Node ID 4c14c3925a004ef7036715ec954c9695cdb05783
> # Parent  986d09e696ff83def479a2e7adb237131d10dc09
> export: add 'Amends' hgpatchheader line
> 
> If 'amend_source' is found, the patch is an amend.  This adds the amend_source
> key to the exported patch, which will subsequently be ignored in patch.extract.

I can't see it working but for very narrow case. You usually do multiple amend so amend_source is not reliable to create useful obsolescence marker.

If you want this topic to move forward, please have a look at embedding all of extra in patch so that `--exact`` stop being broken.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20131121/48c796fb/attachment.pgp>


More information about the Mercurial-devel mailing list