equal
deleted
inserted
replaced
1813 @parthandler('phase-heads') |
1813 @parthandler('phase-heads') |
1814 def handlephases(op, inpart): |
1814 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): |
1821 """retrieve the result of a pushkey request""" |
1822 """retrieve the result of a pushkey request""" |
1822 ret = int(inpart.params['return']) |
1823 ret = int(inpart.params['return']) |