On 11/20/2011 04:27 AM, Mike Maxwell wrote: > > I've been puzzling over this for several days, looked at documentation > etc. I guess it must be possible to set up an SVN+WebDAV server this > way, but that doesn't seem to be the way ours is set up, or at least we > don't have access over our https link to a versions/ directory. > Instead, everything is under either trunk/ or branches/ (the latter > happens to be empty). Below that level, there are only directory and > file names, no visible version numbers, and by default you only get the > latest version. We can access specific versions with Linux commands like > svn cat -r1340<fname> > which of course sends that version of<fname> to stdout; or alternatively > svn co -r1340<fname> > But of course those commands aren't available in XXE. > > Also version #s in our system are strictly integers--not decimals like > 1.2, which I haven't seen since I last used RCS.
http://www.acme.corp/dav/versions/1.2/doc.xml is just the example URL which popped out of my head. > > Can you point me to somewhere on the web that documents using the > http://www.acme.corp/dav/versions/1.2/doc.xml method? This is required by RFC3253 -- Versioning Extensions to WebDAV (Web Distributed Authoring and Versioning) -- http://www.webdav.org/specs/rfc3253.html The URL we are speaking about is specified in the DAV:checked-in WebDAV property (http://www.webdav.org/specs/rfc3253.html#PROPERTY_checked-in) Let's use XMLmind Document Repository[*] as our example version control-enabled, WebDAV server (what follows actually works): * http://impala.localdomain:8080/xdr/dav/xxe/docsrc/user/changes.html is latest version of the release notes of XXE. * The native properties of this file (got them using http://impala.localdomain:8080/xdr/browse/xxe/docsrc/user/changes.html?p ) tell us that it corresponds to resource #225 version #54 * Therefore I can open the older versions (in a web browser or in XXE) by using these URLs: http://impala.localdomain:8080/xdr/dav/.history/225/53 http://impala.localdomain:8080/xdr/dav/.history/225/52 http://impala.localdomain:8080/xdr/dav/.history/225/51 etc. We admit that doing this kind of manipulations by hand is almost impossible and that a simple integration of the "Browse Files" and the "Compare Tool" allowing to compare a file to an older version is desirable. However, * the last time we have evaluated SVN+WebDAV didn't show that it was a good version control-enabled, *WebDAV* server we could recommend; * for now, our "Compare Tool" is essentially marketed as an alternative to change tracking. The two above reasons explain why we do not plan in the short term to integrate the "Browse Files" and the "Compare Tool". --- [*] See http://www.xmlmind.com/docrep/ . Now an abandoned project due to the lack of interest of the public. -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

