Lines Matching refs:commit_session
554 def _RewriteIdsAsServerIds(self, entry, cache_guid, commit_session):
567 commit_session: A dictionary mapping the original IDs to the new server
578 commit_session[entry.id_string] = new_id # Remember the remapping.
580 if entry.parent_id_string in commit_session:
581 entry.parent_id_string = commit_session[entry.parent_id_string]
582 if entry.insert_after_item_id in commit_session:
583 entry.insert_after_item_id = commit_session[entry.insert_after_item_id]
585 def CommitEntry(self, entry, cache_guid, commit_session):
593 commit_session: A dictionary mapping client IDs to server IDs for any
604 # ID generation state is stored in 'commit_session'.
605 self._RewriteIdsAsServerIds(entry, cache_guid, commit_session)