Show More
@@ -1006,7 +1006,11 b' def _pullbundle2(pullop):' | |||
|
1006 | 1006 | kwargs['heads'] = pullop.heads or pullop.rheads |
|
1007 | 1007 | kwargs['cg'] = pullop.fetch |
|
1008 | 1008 | if 'listkeys' in remotecaps: |
|
1009 |
kwargs['listkeys'] = ['phase' |
|
|
1009 | kwargs['listkeys'] = ['phase'] | |
|
1010 | if pullop.remotebookmarks is None: | |
|
1011 | # make sure to always includes bookmark data when migrating | |
|
1012 | # `hg incoming --bundle` to using this function. | |
|
1013 | kwargs['listkeys'].append('bookmarks') | |
|
1010 | 1014 | if not pullop.fetch: |
|
1011 | 1015 | pullop.repo.ui.status(_("no changes found\n")) |
|
1012 | 1016 | pullop.cgresult = 0 |
@@ -1038,6 +1042,9 b' def _pullbundle2(pullop):' | |||
|
1038 | 1042 | for namespace, value in op.records['listkeys']: |
|
1039 | 1043 | if namespace == 'bookmarks': |
|
1040 | 1044 | pullop.remotebookmarks = value |
|
1045 | ||
|
1046 | # bookmark data were either already there or pulled in the bundle | |
|
1047 | if pullop.remotebookmarks is not None: | |
|
1041 | 1048 |
|
|
1042 | 1049 | |
|
1043 | 1050 | def _pullbundle2extraprepare(pullop, kwargs): |
General Comments 0
You need to be logged in to leave comments.
Login now