[PATCH STABLE] perf: fix typo in perfphasesremote()

Yuya Nishihara yuya at tcha.org
Sat Aug 18 05:44:24 UTC 2018


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1534555983 -32400
#      Sat Aug 18 10:33:03 2018 +0900
# Branch stable
# Node ID cee9043c7dba154af10cf2817190f8c1ed62de62
# Parent  f736fdbe546af28040f53b3bbed40af02fdf7a65
perf: fix typo in perfphasesremote()

diff --git a/contrib/perf.py b/contrib/perf.py
--- a/contrib/perf.py
+++ b/contrib/perf.py
@@ -807,7 +807,7 @@ def perfphasesremote(ui, repo, dest=None
 
     path = ui.paths.getpath(dest, default=('default-push', 'default'))
     if not path:
-        raise error.abort(('default repository not configured!'),
+        raise error.Abort(('default repository not configured!'),
                          hint=("see 'hg help config.paths'"))
     dest = path.pushloc or path.loc
     branches = (path.branch, opts.get('branch') or [])


More information about the Mercurial-devel mailing list