[PATCH RFC] patch: Always ensure valid git diffs in case source/destination file is missing (issue4046)

Matt Mackall mpm at selenic.com
Sat Oct 19 18:34:56 CDT 2013


On Sun, 2013-10-13 at 08:50 -0400, Johan Bjork wrote:
> # HG changeset patch
> # User Johan Bjork <jbjoerk at gmail.com>
> # Date 1381667910 14400
> #      Sun Oct 13 08:38:30 2013 -0400
> # Node ID 9b5bc4626c30f9b8564238824618376f08992d3c
> # Parent  1b2f9d36953e6ed384a044c1e73cb3a1aa072004
> patch: Always ensure valid git diffs in case source/destination file is missing (issue4046)

This looks promising, but

- it breaks several tests in our test suite, which will need diagnosing
- it's probably going to need a testcase of its own

As this is a bug fix, you might be able to get it into 2.8 if you
address the above in the next week or so.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list