Show More
@@ -1815,6 +1815,7 b' def handlephases(op, inpart):' | |||||
1815 | """apply phases from bundle part to repo""" |
|
1815 | """apply phases from bundle part to repo""" | |
1816 | headsbyphase = _readphaseheads(inpart) |
|
1816 | headsbyphase = _readphaseheads(inpart) | |
1817 | phases.updatephases(op.repo.unfiltered(), op.gettransaction(), headsbyphase) |
|
1817 | phases.updatephases(op.repo.unfiltered(), op.gettransaction(), headsbyphase) | |
|
1818 | op.records.add('phase-heads', {}) | |||
1818 |
|
1819 | |||
1819 | @parthandler('reply:pushkey', ('return', 'in-reply-to')) |
|
1820 | @parthandler('reply:pushkey', ('return', 'in-reply-to')) | |
1820 | def handlepushkeyreply(op, inpart): |
|
1821 | def handlepushkeyreply(op, inpart): |
@@ -1401,6 +1401,10 b' def _pullbundle2(pullop):' | |||||
1401 | if pullop.fetch: |
|
1401 | if pullop.fetch: | |
1402 | pullop.cgresult = bundle2.combinechangegroupresults(op) |
|
1402 | pullop.cgresult = bundle2.combinechangegroupresults(op) | |
1403 |
|
1403 | |||
|
1404 | # If the bundle had a phase-heads part, then phase exchange is already done | |||
|
1405 | if op.records['phase-heads']: | |||
|
1406 | pullop.stepsdone.add('phases') | |||
|
1407 | ||||
1404 | # processing phases change |
|
1408 | # processing phases change | |
1405 | for namespace, value in op.records['listkeys']: |
|
1409 | for namespace, value in op.records['listkeys']: | |
1406 | if namespace == 'phases': |
|
1410 | if namespace == 'phases': |
General Comments 0
You need to be logged in to leave comments.
Login now