Patchwork exchange: drop useless line break

login
register
mail settings
Submitter Pierre-Yves David
Date April 11, 2014, 6:29 p.m.
Message ID <43606095da2d72141901.1397240978@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/4283/
State Accepted
Commit 557a083453c968c288bb22e531740e9478f656b0
Headers show

Comments

Pierre-Yves David - April 11, 2014, 6:29 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 1397238221 14400
#      Fri Apr 11 13:43:41 2014 -0400
# Node ID 43606095da2d72141901b8efd5a0b0ee76003677
# Parent  a90a6df5fd2ddace645e11bd7f27bc34d9564a20
exchange: drop useless line break
Pierre-Yves David - April 12, 2014, 3:42 p.m.
On 04/11/2014 02:29 PM, pierre-yves.david@ens-lyon.org wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@fb.com>
> # Date 1397238221 14400
> #      Fri Apr 11 13:43:41 2014 -0400
> # Node ID 43606095da2d72141901b8efd5a0b0ee76003677
> # Parent  a90a6df5fd2ddace645e11bd7f27bc34d9564a20
> exchange: drop useless line break

I queued this in fb-crew.
Augie Fackler - April 12, 2014, 3:43 p.m.
On Fri, Apr 11, 2014 at 02:29:38PM -0400, pierre-yves.david@ens-lyon.org wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@fb.com>
> # Date 1397238221 14400
> #      Fri Apr 11 13:43:41 2014 -0400
> # Node ID 43606095da2d72141901b8efd5a0b0ee76003677
> # Parent  a90a6df5fd2ddace645e11bd7f27bc34d9564a20
> exchange: drop useless line break

Appears to have been crewed without comment.

> 
> diff --git a/mercurial/exchange.py b/mercurial/exchange.py
> --- a/mercurial/exchange.py
> +++ b/mercurial/exchange.py
> @@ -207,12 +207,11 @@ def _pushchangeset(pushop):
>         pushop.ret = pushop.remote.unbundle(cg, remoteheads,
>                                             'push')
>     else:
>         # we return an integer indicating remote head count
>         # change
> -        pushop.ret = pushop.remote.addchangegroup(cg, 'push',
> -                                                              pushop.repo.url())
> +        pushop.ret = pushop.remote.addchangegroup(cg, 'push', pushop.repo.url())
> 
> def _pushcomputecommonheads(pushop):
>     unfi = pushop.repo.unfiltered()
>     if pushop.ret:
>         # push succeed, synchronize target of the push
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

Patch

diff --git a/mercurial/exchange.py b/mercurial/exchange.py
--- a/mercurial/exchange.py
+++ b/mercurial/exchange.py
@@ -207,12 +207,11 @@  def _pushchangeset(pushop):
         pushop.ret = pushop.remote.unbundle(cg, remoteheads,
                                             'push')
     else:
         # we return an integer indicating remote head count
         # change
-        pushop.ret = pushop.remote.addchangegroup(cg, 'push',
-                                                              pushop.repo.url())
+        pushop.ret = pushop.remote.addchangegroup(cg, 'push', pushop.repo.url())
 
 def _pushcomputecommonheads(pushop):
     unfi = pushop.repo.unfiltered()
     if pushop.ret:
         # push succeed, synchronize target of the push