[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

dav COPY method

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-10-30 00:26:39 CET

So when the commit-driver adds a file "newpath", here's what ra_local

   if (copyfrom args supplied):
      svn_fs_copy(copyfrom_url, newpath);

      svn_fs_make_file(newpath); /* create new, empty file */

And AFAIK, ra_dav currently does nothing in this situation but do a
CHECKOUT of the parent. Later on, when the txdelta is sent, ra_dav
does a PUT. Presumably mod_dav_svn, when it sees this put, calls
svn_fs_make_file() and applies the txdelta from the message body.

Now we have a situation where ra_dav needs to notice copyfrom args;
you explained to me that somehow the copyfrom_url and
copyfrom_revision need to be converted into a 'baseline' url, which is
then provided as an argument to the COPY method. Want to elaborate?

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:46 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.