[PATCH cleanup] unbundle: gratuitous fix white spacing "issue"

Yuya Nishihara yuya at tcha.org
Sun Nov 8 07:41:08 CST 2015


On Sat, 07 Nov 2015 16:05:47 -0500, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at fb.com>
> # Date 1446930189 18000
> #      Sat Nov 07 16:03:09 2015 -0500
> # Node ID d8f8e392678c870492bc3684001ecc338abe7f49
> # Parent  f9984f76fd90e439221425d751e29bae17bec995
> # EXP-Topic cleanup
> # Available At http://hg.netv6.net/marmoute-wip/mercurial/
> #              hg pull http://hg.netv6.net/marmoute-wip/mercurial/ -r d8f8e392678c
> unbundle: gratuitous fix white spacing "issue"
> 
> We were missing on space on this block.
> 
> diff --git a/mercurial/commands.py b/mercurial/commands.py
> --- a/mercurial/commands.py
> +++ b/mercurial/commands.py
> @@ -6576,14 +6576,14 @@ def unbundle(ui, repo, fname1, *fnames, 
>                      op = bundle2.applybundle(repo, gen, tr, source='unbundle',
>                                               url='bundle:' + fname)
>                      tr.close()
>                  except error.BundleUnknownFeatureError as exc:
>                      raise error.Abort(_('%s: unknown bundle feature, %s')
> -                                     % (fname, exc),
> -                                     hint=_("see https://mercurial-scm.org/"
> -                                            "wiki/BundleFeature for more "
> -                                            "information"))
> +                                      % (fname, exc),
> +                                      hint=_("see https://mercurial-scm.org/"
> +                                             "wiki/BundleFeature for more "
> +                                             "information"))

LGTM. We're missing it after the kill of util.Abort. :-)


More information about the Mercurial-devel mailing list