Show More
@@ -381,7 +381,7 b' def copystore(ui, srcrepo, destpath):' | |||||
381 | try: |
|
381 | try: | |
382 | hardlink = None |
|
382 | hardlink = None | |
383 | topic = _('linking') if hardlink else _('copying') |
|
383 | topic = _('linking') if hardlink else _('copying') | |
384 |
|
|
384 | with ui.makeprogress(topic) as progress: | |
385 | num = 0 |
|
385 | num = 0 | |
386 | srcpublishing = srcrepo.publishing() |
|
386 | srcpublishing = srcrepo.publishing() | |
387 | srcvfs = vfsmod.vfs(srcrepo.sharedpath) |
|
387 | srcvfs = vfsmod.vfs(srcrepo.sharedpath) | |
@@ -405,7 +405,6 b' def copystore(ui, srcrepo, destpath):' | |||||
405 | ui.debug("linked %d files\n" % num) |
|
405 | ui.debug("linked %d files\n" % num) | |
406 | else: |
|
406 | else: | |
407 | ui.debug("copied %d files\n" % num) |
|
407 | ui.debug("copied %d files\n" % num) | |
408 | progress.complete() |
|
|||
409 | return destlock |
|
408 | return destlock | |
410 | except: # re-raises |
|
409 | except: # re-raises | |
411 | release(destlock) |
|
410 | release(destlock) |
General Comments 0
You need to be logged in to leave comments.
Login now