Show More
@@ -1075,6 +1075,9 b' def _pullbundle2(pullop):' | |||||
1075 |
|
1075 | |||
1076 | For now, the only supported data are changegroup.""" |
|
1076 | For now, the only supported data are changegroup.""" | |
1077 | kwargs = {'bundlecaps': caps20to10(pullop.repo)} |
|
1077 | kwargs = {'bundlecaps': caps20to10(pullop.repo)} | |
|
1078 | ||||
|
1079 | streaming, streamreqs = streamclone.canperformstreamclone(pullop) | |||
|
1080 | ||||
1078 | # pulling changegroup |
|
1081 | # pulling changegroup | |
1079 | pullop.stepsdone.add('changegroup') |
|
1082 | pullop.stepsdone.add('changegroup') | |
1080 |
|
1083 | |||
@@ -1087,7 +1090,9 b' def _pullbundle2(pullop):' | |||||
1087 | # make sure to always includes bookmark data when migrating |
|
1090 | # make sure to always includes bookmark data when migrating | |
1088 | # `hg incoming --bundle` to using this function. |
|
1091 | # `hg incoming --bundle` to using this function. | |
1089 | kwargs['listkeys'].append('bookmarks') |
|
1092 | kwargs['listkeys'].append('bookmarks') | |
1090 | if not pullop.fetch: |
|
1093 | if streaming: | |
|
1094 | pullop.repo.ui.status(_('streaming all changes\n')) | |||
|
1095 | elif not pullop.fetch: | |||
1091 | pullop.repo.ui.status(_("no changes found\n")) |
|
1096 | pullop.repo.ui.status(_("no changes found\n")) | |
1092 | pullop.cgresult = 0 |
|
1097 | pullop.cgresult = 0 | |
1093 | else: |
|
1098 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now