Show More
@@ -455,7 +455,7 b' class queue:' | |||
|
455 | 455 | repo.dirstate.invalidate() |
|
456 | 456 | raise |
|
457 | 457 | finally: |
|
458 |
del lock, wlock |
|
|
458 | del tr, lock, wlock | |
|
459 | 459 | |
|
460 | 460 | def _apply(self, repo, series, list=False, update_status=True, |
|
461 | 461 | strict=False, patchdir=None, merge=None, all_files={}): |
@@ -1623,7 +1623,7 b' def import_(ui, repo, patch1, *patches, ' | |||
|
1623 | 1623 | finally: |
|
1624 | 1624 | os.unlink(tmpname) |
|
1625 | 1625 | finally: |
|
1626 |
del |
|
|
1626 | del lock, wlock | |
|
1627 | 1627 | |
|
1628 | 1628 | def incoming(ui, repo, source="default", **opts): |
|
1629 | 1629 | """show new changesets found in source |
@@ -544,7 +544,7 b' class localrepository(repo.repository):' | |||
|
544 | 544 | else: |
|
545 | 545 | self.ui.warn(_("no rollback information available\n")) |
|
546 | 546 | finally: |
|
547 |
del |
|
|
547 | del lock, wlock | |
|
548 | 548 | |
|
549 | 549 | def invalidate(self): |
|
550 | 550 | for a in "changelog manifest".split(): |
@@ -820,7 +820,7 b' class localrepository(repo.repository):' | |||
|
820 | 820 | self.hook("commit", node=hex(n), parent1=xp1, parent2=xp2) |
|
821 | 821 | return n |
|
822 | 822 | finally: |
|
823 |
del lock, wlock |
|
|
823 | del tr, lock, wlock | |
|
824 | 824 | |
|
825 | 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