equal
deleted
inserted
replaced
265 fp = repo.ui |
265 fp = repo.ui |
266 |
266 |
267 if not node1: |
267 if not node1: |
268 node1 = repo.dirstate.parents()[0] |
268 node1 = repo.dirstate.parents()[0] |
269 # reading the data for node1 early allows it to play nicely |
269 # reading the data for node1 early allows it to play nicely |
270 # with repo.changes and the revlog cache. |
270 # with repo.status and the revlog cache. |
271 change = repo.changelog.read(node1) |
271 change = repo.changelog.read(node1) |
272 mmap = repo.manifest.read(change[0]) |
272 mmap = repo.manifest.read(change[0]) |
273 date1 = util.datestr(change[2]) |
273 date1 = util.datestr(change[2]) |
274 |
274 |
275 if not changes: |
275 if not changes: |
276 changes = repo.changes(node1, node2, files, match=match) |
276 changes = repo.status(node1, node2, files, match=match)[:5] |
277 modified, added, removed, deleted, unknown = changes |
277 modified, added, removed, deleted, unknown = changes |
278 if files: |
278 if files: |
279 def filterfiles(filters): |
279 def filterfiles(filters): |
280 l = [x for x in files if x in filters] |
280 l = [x for x in files if x in filters] |
281 |
281 |