equal
deleted
inserted
replaced
1717 captureoutput = repo.ui.configbool('experimental', 'bundle2-output-capture', |
1717 captureoutput = repo.ui.configbool('experimental', 'bundle2-output-capture', |
1718 False) |
1718 False) |
1719 if url.startswith('remote:http:') or url.startswith('remote:https:'): |
1719 if url.startswith('remote:http:') or url.startswith('remote:https:'): |
1720 captureoutput = True |
1720 captureoutput = True |
1721 try: |
1721 try: |
|
1722 # note: outside bundle1, 'heads' is expected to be empty and this |
|
1723 # 'check_heads' call wil be a no-op |
1722 check_heads(repo, heads, 'uploading changes') |
1724 check_heads(repo, heads, 'uploading changes') |
1723 # push can proceed |
1725 # push can proceed |
1724 if util.safehasattr(cg, 'params'): |
1726 if util.safehasattr(cg, 'params'): |
1725 r = None |
1727 r = None |
1726 try: |
1728 try: |