[PATCHES] Fixes for ui and diff.

Matt Mackall mpm at selenic.com
Tue Jun 7 08:31:12 UTC 2005


On Wed, May 18, 2005 at 08:27:20AM +0200, Thomas Arendsen Hein wrote:
> - patch can't create files using hg's diffs, because of something
>   that looks like a bug in difflib to me:
>   diff from diffutils uses:
> 
>   @@ -0,0 +1 @@
>   +foobar
> 
>   while difflib says:
> 
>   @@ -1,0 +1,1 @@
>   +foobar
> 
>   when creating a file. The problem is the first '-1' instead of '-0'.

This should be fixed in tip shortly.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list