##// END OF EJS Templates
del transaction before lock before wlock...
Alexis S. L. Carvalho -
r5053:47a8ea1e default
parent child Browse files
Show More
@@ -455,7 +455,7 b' class queue:'
455 repo.dirstate.invalidate()
455 repo.dirstate.invalidate()
456 raise
456 raise
457 finally:
457 finally:
458 del lock, wlock, tr
458 del tr, lock, wlock
459
459
460 def _apply(self, repo, series, list=False, update_status=True,
460 def _apply(self, repo, series, list=False, update_status=True,
461 strict=False, patchdir=None, merge=None, all_files={}):
461 strict=False, patchdir=None, merge=None, all_files={}):
@@ -1623,7 +1623,7 b' def import_(ui, repo, patch1, *patches, '
1623 finally:
1623 finally:
1624 os.unlink(tmpname)
1624 os.unlink(tmpname)
1625 finally:
1625 finally:
1626 del wlock, lock
1626 del lock, wlock
1627
1627
1628 def incoming(ui, repo, source="default", **opts):
1628 def incoming(ui, repo, source="default", **opts):
1629 """show new changesets found in source
1629 """show new changesets found in source
@@ -544,7 +544,7 b' class localrepository(repo.repository):'
544 else:
544 else:
545 self.ui.warn(_("no rollback information available\n"))
545 self.ui.warn(_("no rollback information available\n"))
546 finally:
546 finally:
547 del wlock, lock
547 del lock, wlock
548
548
549 def invalidate(self):
549 def invalidate(self):
550 for a in "changelog manifest".split():
550 for a in "changelog manifest".split():
@@ -820,7 +820,7 b' class localrepository(repo.repository):'
820 self.hook("commit", node=hex(n), parent1=xp1, parent2=xp2)
820 self.hook("commit", node=hex(n), parent1=xp1, parent2=xp2)
821 return n
821 return n
822 finally:
822 finally:
823 del lock, wlock, tr
823 del tr, lock, wlock
824
824
825 def walk(self, node=None, files=[], match=util.always, badmatch=None):
825 def walk(self, node=None, files=[], match=util.always, badmatch=None):
826 '''
826 '''
General Comments 0
You need to be logged in to leave comments. Login now