merge with stable
authorThomas Arendsen Hein <thomas@intevation.de>
Tue, 03 Apr 2012 22:02:04 +0200
changeset 16353 1d8eab6dfe65
parent 16351 d6a4cfefafb3 (current diff)
parent 16352 4d875bb546dc (diff)
child 16356 913be8c5139c
merge with stable
--- a/mercurial/hg.py	Tue Apr 03 21:02:00 2012 +0200
+++ b/mercurial/hg.py	Tue Apr 03 22:02:04 2012 +0200
@@ -404,6 +404,8 @@
         release(srclock, destlock)
         if dircleanup is not None:
             dircleanup.cleanup()
+        if srcrepo is not None:
+            srcrepo.close()
 
 def _showstats(repo, stats):
     repo.ui.status(_("%d files updated, %d files merged, "