Show More
@@ -815,7 +815,12 b' def perfstatus(ui, repo, **opts):' | |||||
815 | ) |
|
815 | ) | |
816 | sum(map(bool, s)) |
|
816 | sum(map(bool, s)) | |
817 |
|
817 | |||
818 | timer(status_dirstate) |
|
818 | if util.safehasattr(dirstate, 'running_status'): | |
|
819 | with dirstate.running_status(repo): | |||
|
820 | timer(status_dirstate) | |||
|
821 | dirstate.invalidate() | |||
|
822 | else: | |||
|
823 | timer(status_dirstate) | |||
819 | else: |
|
824 | else: | |
820 | timer(lambda: sum(map(len, repo.status(unknown=opts[b'unknown'])))) |
|
825 | timer(lambda: sum(map(len, repo.status(unknown=opts[b'unknown'])))) | |
821 | fm.end() |
|
826 | fm.end() |
General Comments 0
You need to be logged in to leave comments.
Login now