##// END OF EJS Templates
largefiles: don't mangle filesets when fixing up the log matcher...
Matt Harbison -
r24813:2553ef73 stable
parent child Browse files
Show More
@@ -305,6 +305,9 b' def overridelog(orig, ui, repo, *pats, *'
305 pats = set(p)
305 pats = set(p)
306
306
307 def fixpats(pat, tostandin=lfutil.standin):
307 def fixpats(pat, tostandin=lfutil.standin):
308 if pat.startswith('set:'):
309 return pat
310
308 kindpat = match_._patsplit(pat, None)
311 kindpat = match_._patsplit(pat, None)
309
312
310 if kindpat[0] is not None:
313 if kindpat[0] is not None:
@@ -72,6 +72,20 b' Test log'
72 content1_content2_content3-tracked | 1 +
72 content1_content2_content3-tracked | 1 +
73 3 files changed, 3 insertions(+), 0 deletions(-)
73 3 files changed, 3 insertions(+), 0 deletions(-)
74
74
75 Largefiles doesn't crash
76 $ hg log -T '{rev}\n' --stat 'set:modified()' --config extensions.largefiles=
77 1
78 content1_content2_content1-tracked | 2 +-
79 content1_content2_content3-tracked | 2 +-
80 missing_content2_content3-tracked | 1 +
81 3 files changed, 3 insertions(+), 2 deletions(-)
82
83 0
84 content1_content1_content3-tracked | 1 +
85 content1_content2_content1-tracked | 1 +
86 content1_content2_content3-tracked | 1 +
87 3 files changed, 3 insertions(+), 0 deletions(-)
88
75 $ hg log -T '{rev}\n' --stat 'set:added()'
89 $ hg log -T '{rev}\n' --stat 'set:added()'
76 1
90 1
77 content1_missing_content1-tracked | 1 -
91 content1_missing_content1-tracked | 1 -
@@ -37,6 +37,13 b' Test copies and moves from a directory o'
37 A dira/dirb/largefile
37 A dira/dirb/largefile
38 $ cd dira
38 $ cd dira
39 $ hg cp dirb/largefile foo/largefile
39 $ hg cp dirb/largefile foo/largefile
40
41 TODO: Ideally, this should mention the largefile, not the standin
42 $ hg log -T '{rev}\n' --stat 'set:clean()'
43 0
44 .hglf/dira/dirb/largefile | 1 +
45 1 files changed, 1 insertions(+), 0 deletions(-)
46
40 $ hg ci -m "deep copy"
47 $ hg ci -m "deep copy"
41 Invoking status precommit hook
48 Invoking status precommit hook
42 A dira/foo/largefile
49 A dira/foo/largefile
General Comments 0
You need to be logged in to leave comments. Login now