comparison contrib/perf.py @ 39193:cee9043c7dba stable

perf: fix typo in perfphasesremote()
author Yuya Nishihara <yuya@tcha.org>
date Sat, 18 Aug 2018 10:33:03 +0900
parents 1732db2f8210
children c62184c6299c
comparison
equal deleted inserted replaced
39146:f736fdbe546a 39193:cee9043c7dba
805 ) 805 )
806 timer, fm = gettimer(ui, opts) 806 timer, fm = gettimer(ui, opts)
807 807
808 path = ui.paths.getpath(dest, default=('default-push', 'default')) 808 path = ui.paths.getpath(dest, default=('default-push', 'default'))
809 if not path: 809 if not path:
810 raise error.abort(('default repository not configured!'), 810 raise error.Abort(('default repository not configured!'),
811 hint=("see 'hg help config.paths'")) 811 hint=("see 'hg help config.paths'"))
812 dest = path.pushloc or path.loc 812 dest = path.pushloc or path.loc
813 branches = (path.branch, opts.get('branch') or []) 813 branches = (path.branch, opts.get('branch') or [])
814 ui.status(('analysing phase of %s\n') % util.hidepassword(dest)) 814 ui.status(('analysing phase of %s\n') % util.hidepassword(dest))
815 revs, checkout = hg.addbranchrevs(repo, repo, branches, opts.get('rev')) 815 revs, checkout = hg.addbranchrevs(repo, repo, branches, opts.get('rev'))