[PATCH] Make revision ID available to transplant --filter command via environment

Brendan Cully brendan at kublai.com
Fri Mar 11 12:19:17 CST 2011


On Friday, 11 March 2011 at 16:34, Luke Plant wrote:
> Sometimes it is necessary to know the original revision ID in order to
> correctly rewrite the patch or commit message when transplanting.  This
> patch follows the pattern set by the existing HGUSER environment variable,
> and adds a test that covers both HGUSER and HGREVISION.
> 
> Patch below and attached.
> 
> # HG changeset patch
> # User Luke Plant <L.Plant.98 at cantab.net>
> # Date 1299858524 0
> # Node ID 77980260c92c8599495e45bd97767c34e425e16e
> # Parent  1bb2a56a9d73b386378564381807fdf8df38ea3f
> transplant: added 'HGREVISION' variable to the environment passed to the
> 'filter' command

In crew as 3cbb3c57a50e, thanks.


More information about the Mercurial-devel mailing list