# HG changeset patch # User Mike Edgar # Date 2014-10-25 04:40:51 # Node ID 2f12ac53b528cdaf424f11964853cb797892d5da # Parent 4e5ac4a3a29b19a8af80167041095668012f03ff exchange: fix indentation in _pullchangeset diff --git a/mercurial/exchange.py b/mercurial/exchange.py --- a/mercurial/exchange.py +++ b/mercurial/exchange.py @@ -1014,9 +1014,9 @@ def _pullchangeset(pullop): 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"))