[PATCH cleanup] exchange: fix indentation in _pullchangeset

Augie Fackler raf at durin42.com
Fri Nov 7 09:23:03 CST 2014


On Thu, Nov 06, 2014 at 05:30:16PM -0500, Mike Edgar wrote:
> # HG changeset patch
> # User Mike Edgar <adgar at google.com>
> # Date 1414212051 14400
> #      Sat Oct 25 00:40:51 2014 -0400
> # Node ID a6983f5701db9f3f9ba4bd6de395b9a9688607c9
> # Parent  2d54aa5397cdb1c697673ba10b7618d5ac25c69e
> exchange: fix indentation in _pullchangeset

queued, thanks

>
> diff -r 2d54aa5397cd -r a6983f5701db mercurial/exchange.py
> --- a/mercurial/exchange.py	Sat Oct 18 01:09:41 2014 -0700
> +++ b/mercurial/exchange.py	Sat Oct 25 00:40:51 2014 -0400
> @@ -1014,9 +1014,9 @@
>          return
>      pullop.stepsdone.add('changegroup')
>      if not pullop.fetch:
> -            pullop.repo.ui.status(_("no changes found\n"))
> -            pullop.cgresult = 0
> -            return
> +        pullop.repo.ui.status(_("no changes found\n"))
> +        pullop.cgresult = 0
> +        return
>      pullop.gettransaction()
>      if pullop.heads is None and list(pullop.common) == [nullid]:
>          pullop.repo.ui.status(_("requesting all changes\n"))
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list