##// END OF EJS Templates
path: update logic in `perf` to use the push variant when available...
marmoute -
r50600:ec8140c4 default
parent child Browse files
Show More
@@ -1613,7 +1613,11 b' def perfphasesremote(ui, repo, dest=None'
1613 b'default repository not configured!',
1613 b'default repository not configured!',
1614 hint=b"see 'hg help config.paths'",
1614 hint=b"see 'hg help config.paths'",
1615 )
1615 )
1616 dest = path.pushloc or path.loc
1616 if util.safehasattr(path, 'main_path'):
1617 path = path.get_push_variant()
1618 dest = path.loc
1619 else:
1620 dest = path.pushloc or path.loc
1617 ui.statusnoi18n(b'analysing phase of %s\n' % util.hidepassword(dest))
1621 ui.statusnoi18n(b'analysing phase of %s\n' % util.hidepassword(dest))
1618 other = hg.peer(repo, opts, dest)
1622 other = hg.peer(repo, opts, dest)
1619
1623
General Comments 0
You need to be logged in to leave comments. Login now