diff tests/test-hgweb-diffs.t @ 27158:522ffc189671

webcommands: get correct parents when comparing a removed file (issue4962) When comparing a file that was removed at the current revision, parents used to show grandparents instead, due to how fctx was "shifted" from the current revision to its p1. Let's not do that. The fix is pretty much copied from webcommands.filediff().
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 28 Nov 2015 16:02:22 +0800
parents 4b0fc75f9403
children eb7de21b15be
line wrap: on
line diff
--- a/tests/test-hgweb-diffs.t	Mon Nov 30 16:38:29 2015 -0800
+++ b/tests/test-hgweb-diffs.t	Sat Nov 28 16:02:22 2015 +0800
@@ -927,7 +927,7 @@
   </tr>
   <tr>
    <th>parents</th>
-   <td><a href="/file/0cd96de13884/a">0cd96de13884</a> </td>
+   <td><a href="/file/d73db4d812ff/a">d73db4d812ff</a> </td>
   </tr>
   <tr>
    <th>children</th>