diff mercurial/verify.py @ 8109:496ae1ea4698

switch lock releasing in the core from gc to explicit
author Ronny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>
date Wed, 22 Apr 2009 02:01:22 +0200
parents edf2d83a11aa
children 127281884959
line wrap: on
line diff
--- a/mercurial/verify.py	Wed Apr 22 02:01:22 2009 +0200
+++ b/mercurial/verify.py	Wed Apr 22 02:01:22 2009 +0200
@@ -14,7 +14,7 @@
     try:
         return _verify(repo)
     finally:
-        del lock
+        lock.release()
 
 def _verify(repo):
     mflinkrevs = {}