Mercurial > hg-stable
diff mercurial/exchange.py @ 21157:60ad2ea5b106
getbundle: pass arbitrary arguments all along the call chain
The wireprotocol command accepts arbitrary arguments, we are now passing such
arguments down the call chain.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 17 Apr 2014 17:25:50 -0400 |
parents | 2bfb0598206a |
children | 8f6530b62177 |
line wrap: on
line diff
--- a/mercurial/exchange.py Thu Apr 17 17:59:28 2014 -0400 +++ b/mercurial/exchange.py Thu Apr 17 17:25:50 2014 -0400 @@ -661,7 +661,8 @@ pullop.repo.invalidatevolatilesets() return tr -def getbundle(repo, source, heads=None, common=None, bundlecaps=None): +def getbundle(repo, source, heads=None, common=None, bundlecaps=None, + **kwargs): """return a full bundle (with potentially multiple kind of parts) Could be a bundle HG10 or a bundle HG2X depending on bundlecaps