Lines Matching refs:COMMIT
785 """Preserve immutable fields by copying pre-commit state.
799 Clients are only allowed to commit if they report having seen the most
847 A commit batch sent by a client may contain new items for which the
848 server has not generated IDs yet. And within a commit batch, later
856 commit request.
877 """Raise an exception if a commit batch contains any global errors.
880 entries: an iterable containing commit-form SyncEntity protocol buffers.
908 """Attempt to commit one entry to the user's account.
917 during commit, the change will be recorded here.
919 A SyncEntity reflecting the post-commit value of the entry, or None
930 # Clients are not allowed to commit unless they indicate that they've seen
942 # At this point, the commit is definitely going to happen.
1013 # Commit the change. This also updates the version number.
1130 """Sets the experiment to enable pre-commit GetUpdate avoidance."""
1139 entry.name = "Pre-commit GU avoidance"
1418 """Enables the pre-commit GU avoidance experiment."""
1422 '<html><title>Enable pre-commit GU avoidance</title>'
1423 '<H1>Enable pre-commit GU avoidance</H1></html>')
1469 elif contents == sync_pb2.ClientToServerMessage.COMMIT:
1470 print 'Commit %d item(s)' % len(request.commit.entries)
1471 self.HandleCommit(request.commit, response.commit)
1518 """Respond to a Commit request by updating the user's account state.
1520 Commit attempts stop after the first error, returning a CONFLICT result
1531 session = {} # Tracks ID renaming during the commit operation.
1539 # Try to commit the change to the account.
1551 # during commit; the client wants to know their values at the end
1556 # parent_id_string on commit responses, so we don't either.