mercurial/bundle2.py
changeset 33886 13dc7f29531e
parent 33882 8d75b9effa07
child 33888 891118dcd279
equal deleted inserted replaced
33885:800bb35d891e 33886:13dc7f29531e
  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'])