##// END OF EJS Templates
unbundle: add a small comment to clarify the 'check_heads' call...
Pierre-Yves David -
r30868:847f0617 default
parent child Browse files
Show More
@@ -1719,6 +1719,8 b' def unbundle(repo, cg, heads, source, ur'
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'):
General Comments 0
You need to be logged in to leave comments. Login now