mercurial/exchange.py
changeset 24738 457e26da029b
parent 24732 8f70b529cb0c
child 24752 5640efd1b160
equal deleted inserted replaced
24737:b061a2049662 24738:457e26da029b
  1280     try:
  1280     try:
  1281         check_heads(repo, heads, 'uploading changes')
  1281         check_heads(repo, heads, 'uploading changes')
  1282         # push can proceed
  1282         # push can proceed
  1283         if util.safehasattr(cg, 'params'):
  1283         if util.safehasattr(cg, 'params'):
  1284             try:
  1284             try:
  1285                 tr = repo.transaction('unbundle')
  1285                 tr = repo.transaction(source)
  1286                 tr.hookargs['source'] = source
  1286                 tr.hookargs['source'] = source
  1287                 tr.hookargs['url'] = url
  1287                 tr.hookargs['url'] = url
  1288                 tr.hookargs['bundle2'] = '1'
  1288                 tr.hookargs['bundle2'] = '1'
  1289                 r = bundle2.processbundle(repo, cg, lambda: tr).reply
  1289                 r = bundle2.processbundle(repo, cg, lambda: tr).reply
  1290                 tr.close()
  1290                 tr.close()