httpsvnwebdav

Understanding SVN's WebDAV client protocol


I am trying to use svnjs to implement a client SVN on the web. However, the library is not finished, and doesn't work at all. So I've decided to fix it.

For example, when I add a file and commit it I get a 409 Conflict error when uploading the new file. I have found this documentation of WebDAV usage in SVN, although it seems unfinished.

The new file is created within the resulting working collection using a PUT request.

That's all it says. It tells anything about which headers I must include, etc.

So, I have two options/questions:

  1. Where can I find more detailed documentation of WebDAV-SVN?
  2. There are plenty of SVN clients on Windows/Linux. Is there a tool to inspect outgoing and incoming traffic from that specific app, in order to see working examples?

Many thanks in advance!


Solution

  • Thanks to @bahrep 's comment, i found some documentation about how WebDAV/DeltaV works. Here are the links, if anyone is interested:

    In my case, I discovered that when receiving a 409 Conflict, the server had to tell me the reason. From there, I have been able to dig a little more into the errors, and finally solve it.

    I haven't pushed the working svnjs yet (it was for another project), but I may at one time push it in https://github.com/royalmo/svnjs . If you come from the future and you're still interested, you may go check that repository.