mercurial/exchange.py
changeset 23028 e4aeb14248ca
parent 23009 90f86ad3d4ff
child 23047 f10019d2ee0a
equal deleted inserted replaced
23027:3971f64d7a25 23028:e4aeb14248ca
  1204             heads = repo.heads()
  1204             heads = repo.heads()
  1205         subset = [c.node() for c in repo.set('::%ln', heads)]
  1205         subset = [c.node() for c in repo.set('::%ln', heads)]
  1206         markers = repo.obsstore.relevantmarkers(subset)
  1206         markers = repo.obsstore.relevantmarkers(subset)
  1207         buildobsmarkerspart(bundler, markers)
  1207         buildobsmarkerspart(bundler, markers)
  1208 
  1208 
  1209 @getbundle2partsgenerator('extra')
       
  1210 def _getbundleextrapart(bundler, repo, source, bundlecaps=None,
       
  1211                         b2caps=None, **kwargs):
       
  1212     """hook function to let extensions add parts to the requested bundle"""
       
  1213     pass
       
  1214 
       
  1215 def check_heads(repo, their_heads, context):
  1209 def check_heads(repo, their_heads, context):
  1216     """check if the heads of a repo have been modified
  1210     """check if the heads of a repo have been modified
  1217 
  1211 
  1218     Used by peer for unbundling.
  1212     Used by peer for unbundling.
  1219     """
  1213     """