Help me understand WebDAV and Autoversioning

Posted by Malfist on Stack Overflow See other posts from Stack Overflow or by Malfist
Published on 2010-05-13T14:45:24Z Indexed on 2010/05/16 1:00 UTC
Read the original article Hit count: 228

Filed under:
|
|

I just read the WebDAV Appendex in the O'Reilly Subversion book. I don't quite understand it. It talked about users being able to "mount" WebDAV directories (trees) and manipulate the files like they would normally and on saves the server would automagically create a new revision.

The way it explained it, it sounded like it would work for any program, but then at the end of the appendix, it listed a series of programs that worked with WebDAV servers, which leads me to think that maybe it doesn't work like it originally described it.

My question is this: How exactly do you interact with a WebDAV repository?

Can I do this for example: Copy a file locally via ftp, edit it with notepad++, and then upload it via ftp to the server and have the server do a commit and create a new revision with the file I just edited and uploaded.

Also, if that is possible, what happens if two people edit the file locally (on their machines) and uploaded two reversions to the server?

With webDAV will I be able to replace Dreamweaver's "Oops, someone edited this before you" with simple ftp uploads and subversion conflict resolutions?

© Stack Overflow or respective owner

Related posts about svn

Related posts about webdav