Show More
@@ -30,7 +30,7 b' def _compile(tree):' | |||||
30 | pl = len(p) |
|
30 | pl = len(p) | |
31 | f = lambda n, s: n.startswith(p) and (len(n) == pl or n[pl] == '/') |
|
31 | f = lambda n, s: n.startswith(p) and (len(n) == pl or n[pl] == '/') | |
32 | return f |
|
32 | return f | |
33 | raise error.ParseError(_("unsupported file pattern"), |
|
33 | raise error.ParseError(_("unsupported file pattern: %s") % name, | |
34 | hint=_('paths must be prefixed with "path:"')) |
|
34 | hint=_('paths must be prefixed with "path:"')) | |
35 | elif op == 'or': |
|
35 | elif op == 'or': | |
36 | func1 = _compile(tree[1]) |
|
36 | func1 = _compile(tree[1]) |
@@ -18,6 +18,10 b'' | |||||
18 | # Commit small file |
|
18 | # Commit small file | |
19 | $ echo s > smallfile |
|
19 | $ echo s > smallfile | |
20 | $ echo '**.py = LF' > .hgeol |
|
20 | $ echo '**.py = LF' > .hgeol | |
|
21 | $ hg --config lfs.track='"size(\">1000B\")"' commit -Aqm "add small file" | |||
|
22 | hg: parse error: unsupported file pattern: size(">1000B") | |||
|
23 | (paths must be prefixed with "path:") | |||
|
24 | [255] | |||
21 | $ hg --config lfs.track='size(">1000B")' commit -Aqm "add small file" |
|
25 | $ hg --config lfs.track='size(">1000B")' commit -Aqm "add small file" | |
22 |
|
26 | |||
23 | # Commit large file |
|
27 | # Commit large file |
General Comments 0
You need to be logged in to leave comments.
Login now