Patchwork largefiles: overridematch() should replace the file path instead of extending (issue3934)

login
register
mail settings
Submitter Matt Mackall
Date July 24, 2013, 6:35 p.m.
Message ID <1374690901.5873.47.camel@calx>
Download mbox | patch
Permalink /patch/1948/
State Accepted
Commit 32e502b26983eaa89574835a024a9b035ad72bf4
Headers show

Comments

Matt Mackall - July 24, 2013, 6:35 p.m.
On Wed, 2013-07-24 at 13:21 +0800, elson.wei@gmail.com wrote:
> # HG changeset patch
> # User Wei, Elson <elson.wei@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:

Patch

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