##// END OF EJS Templates
hg: move return statement after finally block...
simon@laptop-tosh -
r19313:3b96d6e4 default
parent child Browse files
Show More
@@ -437,14 +437,13 b' def clone(ui, peeropts, source, dest=Non'
437 437 _update(destrepo, uprev)
438 438 if update in destrepo._bookmarks:
439 439 bookmarks.setcurrent(destrepo, update)
440
441 return srcpeer, destpeer
442 440 finally:
443 441 release(srclock, destlock)
444 442 if cleandir is not None:
445 443 shutil.rmtree(cleandir, True)
446 444 if srcpeer is not None:
447 445 srcpeer.close()
446 return srcpeer, destpeer
448 447
449 448 def _showstats(repo, stats):
450 449 repo.ui.status(_("%d files updated, %d files merged, "
General Comments 0
You need to be logged in to leave comments. Login now