[PATCH 4 of 8] mq: simplify patchheader handling of the empty line before the diff

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Sep 24 11:58:28 CDT 2014



On 09/23/2014 06:00 PM, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <madski at unity3d.com>
> # Date 1411515565 -7200
> #      Wed Sep 24 01:39:25 2014 +0200
> # Node ID 889f7da574226e636d689fa4dd425b2b1fbb5ac5
> # Parent  746ea8e313f052ebdb2618bfa549b9e9a9b9dff1
> mq: simplify patchheader handling of the empty line before the diff
>
> Don't try to append empty lines to HG patche headers - instead, add them in str
> method.
>
> This minor change removes some apparently redundant code and makes the code
> more robust.

Patches 1-4  pushed to the clowncopter.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list