Bug: web review diff not aware of hg rename

Weijun Wang Weijun.Wang at Sun.COM
Sun Dec 28 22:51:35 CST 2008


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
--- a/resp
+++ b/resp
@@ -1,7 +1,7 @@ 1
 1
 2
 3
-4
+4178
 5
 6
 7

However, the 'hg serve' web version shows:

--- /dev/null
+++ b/resp
@@ -0,0 +1,9 @@
+1
+2
+3
+4178
+5
+6
+7
+8
+9
--- a/targ
+++ /dev/null
@@ -1,9 +0,0 @@
-1
-2
-3
-4
-5
-6
-7
-8
-9

which seems unaware of the rename action.

Thanks
Weijun


More information about the Mercurial mailing list