Show More
@@ -1006,7 +1006,11 b' def _pullbundle2(pullop):' | |||||
1006 | kwargs['heads'] = pullop.heads or pullop.rheads |
|
1006 | kwargs['heads'] = pullop.heads or pullop.rheads | |
1007 | kwargs['cg'] = pullop.fetch |
|
1007 | kwargs['cg'] = pullop.fetch | |
1008 | if 'listkeys' in remotecaps: |
|
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 | if not pullop.fetch: |
|
1014 | if not pullop.fetch: | |
1011 | pullop.repo.ui.status(_("no changes found\n")) |
|
1015 | pullop.repo.ui.status(_("no changes found\n")) | |
1012 | pullop.cgresult = 0 |
|
1016 | pullop.cgresult = 0 | |
@@ -1038,6 +1042,9 b' def _pullbundle2(pullop):' | |||||
1038 | for namespace, value in op.records['listkeys']: |
|
1042 | for namespace, value in op.records['listkeys']: | |
1039 | if namespace == 'bookmarks': |
|
1043 | if namespace == 'bookmarks': | |
1040 | pullop.remotebookmarks = value |
|
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 | _pullbookmarks(pullop) | |
1042 |
|
1049 | |||
1043 | def _pullbundle2extraprepare(pullop, kwargs): |
|
1050 | def _pullbundle2extraprepare(pullop, kwargs): |
General Comments 0
You need to be logged in to leave comments.
Login now