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