Home | History | Annotate | Download | only in testserver

Lines Matching refs:COMMIT

495     """Preserve immutable fields by copying pre-commit state.
509 Clients are only allowed to commit if they report having seen the most
557 A commit batch sent by a client may contain new items for which the
558 server has not generated IDs yet. And within a commit batch, later
566 commit request.
586 """Attempt to commit one entry to the user's account.
595 during commit, the change will be recorded here.
597 A SyncEntity reflecting the post-commit value of the entry, or None
608 # Clients are not allowed to commit unless they indicate that they've seen
620 # At this point, the commit is definitely going to happen.
671 # predecessor during Commit operations, but the 'position_in_parent'
691 # Commit the change. This also updates the version number.
756 elif contents == sync_pb2.ClientToServerMessage.COMMIT:
757 print '%s Commit' % log_context
758 self.HandleCommit(request.commit, response.commit)
768 """Respond to a Commit request by updating the user's account state.
770 Commit attempts stop after the first error, returning a CONFLICT result
781 session = {} # Tracks ID renaming during the commit operation.
786 # Try to commit the change to the account.
798 # during commit; the client wants to know their values at the end
803 # parent_id_string on commit responses, so we don't either.