Bug: web review diff not aware of hg rename

Matt Mackall mpm at selenic.com
Mon Dec 29 01:02:08 CST 2008


On Mon, 2008-12-29 at 12:51 +0800, Weijun Wang wrote:
> Hi All
> 
> I 'hg rename' a file in my repo and then edit it. After the new commit,
> 'hg tip -p' very nicely shows:

> diff --git a/targ b/resp
> rename from targ
> rename to resp

This is a non-standard git diff that you have enabled in your hg config.

> However, the 'hg serve' web version shows:
> 
> --- /dev/null
> +++ b/resp

And this is a standard diff accepted by most patch tools.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list