mercurial/hg.py
branchstable
changeset 16352 4d875bb546dc
parent 16276 6b16ded5c810
child 16705 c2d9ef43ff6c
equal deleted inserted replaced
16350:4f795f5fbb0b 16352:4d875bb546dc
   402         return srcrepo, destrepo
   402         return srcrepo, destrepo
   403     finally:
   403     finally:
   404         release(srclock, destlock)
   404         release(srclock, destlock)
   405         if dircleanup is not None:
   405         if dircleanup is not None:
   406             dircleanup.cleanup()
   406             dircleanup.cleanup()
       
   407         if srcrepo is not None:
       
   408             srcrepo.close()
   407 
   409 
   408 def _showstats(repo, stats):
   410 def _showstats(repo, stats):
   409     repo.ui.status(_("%d files updated, %d files merged, "
   411     repo.ui.status(_("%d files updated, %d files merged, "
   410                      "%d files removed, %d files unresolved\n") % stats)
   412                      "%d files removed, %d files unresolved\n") % stats)
   411 
   413