author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
Fri, 17 Aug 2007 00:42:22 +0200 | |
changeset 5185 | 156f4c8a12aa |
parent 5181 | ee6a6592c997 |
child 5186 | 0d5d03844927 |
child 5188 | 942c0827dc5b |
child 5212 | 316ce5e85b3e |
mercurial/hg.py | file | annotate | diff | comparison | revisions |
--- a/mercurial/hg.py Thu Aug 16 08:19:15 2007 +0200 +++ b/mercurial/hg.py Fri Aug 17 00:42:22 2007 +0200 @@ -212,6 +212,9 @@ if src_lock: src_lock.release() + if dir_cleanup: + dir_cleanup.close() + if dest_repo.local(): fp = dest_repo.opener("hgrc", "w", text=True) fp.write("[paths]\n") @@ -227,8 +230,6 @@ except: checkout = dest_repo.changelog.tip() _update(dest_repo, checkout) - if dir_cleanup: - dir_cleanup.close() return src_repo, dest_repo