[PATCH STABLE] color: don't crash on invalid status codes (issue2036)

Benoit Boissinot benoit.boissinot at ens-lyon.org
Sun Feb 14 16:23:59 CST 2010


On Sun, Feb 14, 2010 at 05:09:58PM -0500, Brodie Rao wrote:
> # HG changeset patch
> # User Brodie Rao <me+hg at dackz.net>
> # Date 1266185332 18000
> # Branch stable
> # Node ID 3b4f879df5f9cf818ae9c8a981ef7eafc7f5e8b5
> # Parent  634b0e7561eca044e37ac9643578f1c044eec64d
> color: don't crash on invalid status codes (issue2036)
> 
> If an unknown file with a newline appears in the status output, color
> shouldn't raise a KeyError trying to parse second line in the filename.

Queued (I moved the test to another file instead of creating a new file).

thanks!

Benoit

-- 
:wq


More information about the Mercurial-devel mailing list