[PATCH] largefiles: overridematch() should replace the file path instead of extending (issue3934)

Matt Mackall mpm at selenic.com
Wed Jul 24 13:35:01 CDT 2013


On Wed, 2013-07-24 at 13:21 +0800, elson.wei at gmail.com wrote:
> # HG changeset patch
> # User Wei, Elson <elson.wei at gmail.com>
> # Date 1374643244 -28800
> #      Wed Jul 24 13:20:44 2013 +0800
> # Branch stable
> # Node ID a7892246452452f5736814e4a17a549d582ab0b2
> # Parent  bf6bc468138342ebc6eb6f2f8d9519148372b18c
> largefiles: overridematch() should replace the file path instead of extending (issue3934)

Queued for stable, thanks. I've added the following minimal test case:

diff -r dd0bd54cec1f tests/test-largefiles.t
--- a/tests/test-largefiles.t	Wed Jul 24 13:20:44 2013 +0800
+++ b/tests/test-largefiles.t	Wed Jul 24 13:34:01 2013 -0500
@@ -738,6 +738,8 @@
   large6
   $ cat sub2/large7
   large7
+  $ hg log -qf sub2/large7
+  7:daea875e9014
   $ cd ..
   $ hg clone a -r 3 c
   adding changesets

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list