mercurial/localrepo.py
changeset 5053 47a8ea1eb2c3
parent 5041 49059086c634
child 5142 2ffe3e2a1ac2
--- a/mercurial/localrepo.py	Thu Aug 02 01:56:08 2007 -0300
+++ b/mercurial/localrepo.py	Thu Aug 02 01:56:08 2007 -0300
@@ -544,7 +544,7 @@
             else:
                 self.ui.warn(_("no rollback information available\n"))
         finally:
-            del wlock, lock
+            del lock, wlock
 
     def invalidate(self):
         for a in "changelog manifest".split():
@@ -820,7 +820,7 @@
             self.hook("commit", node=hex(n), parent1=xp1, parent2=xp2)
             return n
         finally:
-            del lock, wlock, tr
+            del tr, lock, wlock
 
     def walk(self, node=None, files=[], match=util.always, badmatch=None):
         '''