[PATCH 3 of 4 STABLE] exchange: fix bad indentation

pierre-yves.david at ens-lyon.org pierre-yves.david at ens-lyon.org
Thu May 15 00:50:15 CDT 2014


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at 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.

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"))


More information about the Mercurial-devel mailing list