diff -r a11e8a181bd5 -r 47a8ea1eb2c3 mercurial/localrepo.py --- 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): '''