equal
deleted
inserted
replaced
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() |