Hi, Ah ! Sounds much better now. Thanks alot for the clarification.
So $ curl -X DELETE http://localhost:8080/branch/X would in fact drop the branch, right ? Regards Felix Am 27.06.2012 um 15:00 schrieb Jukka Zitting: > Hi, > > On Wed, Jun 27, 2012 at 12:50 PM, Felix Meschberger <[email protected]> > wrote: >> Its not about shared state but about state maintained on the server which >> means >> the exchange is not stateless any longer. > > I don't follow this argument; the entire repository is one big piece > of server-side state. > > Let's drop the term "session" here as it's clearly confusing things > and call this feature "branching": > > $ curl http://localhost:8080/content > {} > $ curl -d create=true http://localhost:8080/branch > Location: http://localhost:8080/branch/X > $ curl http://localhost:8080/branch/X > {} > $ curl -d foo=bar http://localhost:8080/branch/X > {"foo":"bar"} > $ curl http://localhost:8080/content > {} > $ curl -d commit=true -d remove=true http://localhost:8080/branch/X > $ curl http://localhost:8080/content > {"foo":"bar"} > > The only difference between such an operation and that of using a > separate cloned subtree (or workspace) is that the latter is visible > to all repository clients and the former only to those that have the > relevant URI. > > BR, > > Jukka Zitting
