Patchwork [3,of,4,STABLE] exchange: fix bad indentation

login
register
mail settings
Submitter Pierre-Yves David
Date May 15, 2014, 5:50 a.m.
Message ID <8660d5af350f5a7cd0a0.1400133015@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/4751/
State Accepted
Commit dc141bdb5cb0846811871f9ec568861a0e2fc11c
Headers show

Comments

Pierre-Yves David - May 15, 2014, 5:50 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 1399515975 25200
#      Wed May 07 19:26:15 2014 -0700
# Branch stable
# Node ID 8660d5af350f5a7cd0a0662782f43c42dee305fb
# Parent  3ec47738fec4dd9567a26bbaf56c822378d8e09c
exchange: fix bad indentation

Those two lines where double indented for no good reasons.

This is backport of 71931b789424.

Patch

diff --git a/mercurial/exchange.py b/mercurial/exchange.py
--- a/mercurial/exchange.py
+++ b/mercurial/exchange.py
@@ -572,12 +572,12 @@  def _pullbundle2(pullop):
     capsblob = bundle2.encodecaps(pullop.repo.bundle2caps)
     kwargs['bundlecaps'].add('bundle2=' + urllib.quote(capsblob))
     # pulling changegroup
     pullop.todosteps.remove('changegroup')
     if not pullop.fetch:
-            pullop.repo.ui.status(_("no changes found\n"))
-            pullop.cgresult = 0
+        pullop.repo.ui.status(_("no changes found\n"))
+        pullop.cgresult = 0
     else:
         kwargs['common'] = pullop.common
         kwargs['heads'] = pullop.heads or pullop.rheads
         if pullop.heads is None and list(pullop.common) == [nullid]:
             pullop.repo.ui.status(_("requesting all changes\n"))