Home » Docs » Use-cases

Use Case 02 - Commit

Check out data from a repository.

Flow

Basic Flow

  1. Editor asks discovery service for a location of a server for the repository.
  2. Editor sends the modified repository the server, together with the version number this edit was based on.
  3. Server reports back that the commit was successful.

Alternative Flows

Details

When a commit fails because of a merge conflict, the client is expected to check out the newly added version and (with or without interaction from a user) merge all changes and then try again. This is explained in UC-03 Resolve merge conflict.