Show More
@@ -613,14 +613,10 b' def clone(ui, peeropts, source, dest=Non' | |||||
613 | else: |
|
613 | else: | |
614 | stream = None |
|
614 | stream = None | |
615 | # internal config: ui.quietbookmarkmove |
|
615 | # internal config: ui.quietbookmarkmove | |
616 |
|
|
616 | overrides = {('ui', 'quietbookmarkmove'): True} | |
617 | try: |
|
617 | with local.ui.configoverride(overrides, 'clone'): | |
618 | local.ui.setconfig( |
|
|||
619 | 'ui', 'quietbookmarkmove', True, 'clone') |
|
|||
620 | exchange.pull(local, srcpeer, revs, |
|
618 | exchange.pull(local, srcpeer, revs, | |
621 | streamclonerequested=stream) |
|
619 | streamclonerequested=stream) | |
622 | finally: |
|
|||
623 | local.ui.restoreconfig(quiet) |
|
|||
624 | elif srcrepo: |
|
620 | elif srcrepo: | |
625 | exchange.push(srcrepo, destpeer, revs=revs, |
|
621 | exchange.push(srcrepo, destpeer, revs=revs, | |
626 | bookmarks=srcrepo._bookmarks.keys()) |
|
622 | bookmarks=srcrepo._bookmarks.keys()) |
General Comments 0
You need to be logged in to leave comments.
Login now