[PATCH] mq: gracefully handle malformated status file

Matt Mackall mpm at selenic.com
Mon Feb 28 15:25:39 CST 2011


On Mon, 2011-02-28 at 11:51 +0100, Pierre-Yves David wrote:
> I'm resending this small patch making mq more robust.
> 
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at logilab.fr>
> # Date 1297426239 -3600
> # Branch stable
> # Node ID 13ce20da49086647b98883aa0c239f85242bbe05
> # Parent  02aa06a021a066cb360dc71097dedfa3ef123bb2
> mq: gracefully handle malformated status file.
> 
> This patch prevent mq to crash when .hg/patches/status contains Malformed lines
> (without ":"). Blank lines are ignored and other malformed lines issue a
> warning.

Queued, thanks.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list