Show More
@@ -185,11 +185,13 b' def clientfetch(repo, paths, lastnodemap' | |||||
185 |
|
185 | |||
186 | ui.debug('fastannotate: server returned\n') |
|
186 | ui.debug('fastannotate: server returned\n') | |
187 | for result in results: |
|
187 | for result in results: | |
188 |
|
|
188 | r = result.result() | |
|
189 | for path in sorted(r): | |||
189 | # ignore malicious paths |
|
190 | # ignore malicious paths | |
190 | if not path.startswith('fastannotate/') or '/../' in (path + '/'): |
|
191 | if not path.startswith('fastannotate/') or '/../' in (path + '/'): | |
191 | ui.debug('fastannotate: ignored malicious path %s\n' % path) |
|
192 | ui.debug('fastannotate: ignored malicious path %s\n' % path) | |
192 | continue |
|
193 | continue | |
|
194 | content = r[path] | |||
193 | if ui.debugflag: |
|
195 | if ui.debugflag: | |
194 | ui.debug('fastannotate: writing %d bytes to %s\n' |
|
196 | ui.debug('fastannotate: writing %d bytes to %s\n' | |
195 | % (len(content), path)) |
|
197 | % (len(content), path)) |
@@ -47,9 +47,8 b' setup the local repo' | |||||
47 | sending protocaps command |
|
47 | sending protocaps command | |
48 | fastannotate: requesting 1 files |
|
48 | fastannotate: requesting 1 files | |
49 | sending getannotate command |
|
49 | sending getannotate command | |
50 | fastannotate: writing 112 bytes to fastannotate/default/a.l (?) |
|
|||
51 | fastannotate: server returned |
|
50 | fastannotate: server returned | |
52 |
fastannotate: writing 112 bytes to fastannotate/default/a.l |
|
51 | fastannotate: writing 112 bytes to fastannotate/default/a.l | |
53 | fastannotate: writing 94 bytes to fastannotate/default/a.m |
|
52 | fastannotate: writing 94 bytes to fastannotate/default/a.m | |
54 | fastannotate: a: using fast path (resolved fctx: True) |
|
53 | fastannotate: a: using fast path (resolved fctx: True) | |
55 | 0: 1 |
|
54 | 0: 1 |
General Comments 0
You need to be logged in to leave comments.
Login now