changeset 43506 | 9f70512ae2cf |
parent 43077 | 687b865b95ad |
child 45942 | 89a2afe31e82 |
43505:47fac1692ede | 43506:9f70512ae2cf |
---|---|
199 ''' |
199 ''' |
200 |
200 |
201 if not repo.vfs.exists(b'blackbox.log'): |
201 if not repo.vfs.exists(b'blackbox.log'): |
202 return |
202 return |
203 |
203 |
204 limit = opts.get(r'limit') |
204 limit = opts.get('limit') |
205 fp = repo.vfs(b'blackbox.log', b'r') |
205 fp = repo.vfs(b'blackbox.log', b'r') |
206 lines = fp.read().split(b'\n') |
206 lines = fp.read().split(b'\n') |
207 |
207 |
208 count = 0 |
208 count = 0 |
209 output = [] |
209 output = [] |