diff hgext/largefiles/overrides.py @ 24813:2553ef7355ab stable

largefiles: don't mangle filesets when fixing up the log matcher The fileset-generated.t test previously failed with this: + hg: parse error: unknown identifier: .hglf/modified + (did you mean 'modified'?) + [255] Filesets will find the standins on their own, without any help. While that's useful for some things like modified(), clean(), etc., it is wrong for things like size(). Proper fileset support for largefiles is not trivial, but this was failing with just the extension enabled on a normal repo.
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 18 Apr 2015 13:08:41 -0400
parents e4e69cebeedd
children e47feee55bf7
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py	Sat Apr 18 00:34:38 2015 -0400
+++ b/hgext/largefiles/overrides.py	Sat Apr 18 13:08:41 2015 -0400
@@ -305,6 +305,9 @@
         pats = set(p)
 
         def fixpats(pat, tostandin=lfutil.standin):
+            if pat.startswith('set:'):
+                return pat
+
             kindpat = match_._patsplit(pat, None)
 
             if kindpat[0] is not None: