Show More
@@ -22,11 +22,8 b' from . import (' | |||||
22 | ) |
|
22 | ) | |
23 |
|
23 | |||
24 | def verify(repo): |
|
24 | def verify(repo): | |
25 |
|
|
25 | with repo.lock(): | |
26 | try: |
|
|||
27 | return verifier(repo).verify() |
|
26 | return verifier(repo).verify() | |
28 | finally: |
|
|||
29 | lock.release() |
|
|||
30 |
|
27 | |||
31 | def _normpath(f): |
|
28 | def _normpath(f): | |
32 | # under hg < 2.4, convert didn't sanitize paths properly, so a |
|
29 | # under hg < 2.4, convert didn't sanitize paths properly, so a |
General Comments 0
You need to be logged in to leave comments.
Login now