Show More
@@ -213,12 +213,9 b' def generatev1(repo):' | |||||
213 | (len(entries), total_bytes)) |
|
213 | (len(entries), total_bytes)) | |
214 |
|
214 | |||
215 | svfs = repo.svfs |
|
215 | svfs = repo.svfs | |
216 | oldaudit = svfs.mustaudit |
|
|||
217 | debugflag = repo.ui.debugflag |
|
216 | debugflag = repo.ui.debugflag | |
218 | svfs.mustaudit = False |
|
|||
219 |
|
217 | |||
220 | def emitrevlogdata(): |
|
218 | def emitrevlogdata(): | |
221 | try: |
|
|||
222 |
|
|
219 | for name, size in entries: | |
223 |
|
|
220 | if debugflag: | |
224 |
|
|
221 | repo.ui.debug('sending %s (%d bytes)\n' % (name, size)) | |
@@ -231,8 +228,6 b' def generatev1(repo):' | |||||
231 |
|
|
228 | data = svfs(name, auditpath=False) | |
232 |
|
|
229 | for chunk in util.filechunkiter(data, limit=size): | |
233 |
|
|
230 | yield chunk | |
234 | finally: |
|
|||
235 | svfs.mustaudit = oldaudit |
|
|||
236 |
|
231 | |||
237 | return len(entries), total_bytes, emitrevlogdata() |
|
232 | return len(entries), total_bytes, emitrevlogdata() | |
238 |
|
233 |
General Comments 0
You need to be logged in to leave comments.
Login now