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

login
register
mail settings
Submitter Yuya Nishihara
Date Aug. 18, 2018, 5:44 a.m.
Message ID <cee9043c7dba154af10c.1534571064@mimosa>
Download mbox | patch
Permalink /patch/33839/
State New
Headers show

Comments

Yuya Nishihara - Aug. 18, 2018, 5:44 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@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()
Augie Fackler - Aug. 20, 2018, 6:52 p.m.
On Sat, Aug 18, 2018 at 02:44:24PM +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya@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()

this was queued as cee9043c7dba

>
> 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 [])
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Patch

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 [])