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