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

Request for review: partial repository sync feature

From: <svnlgo_at_mobsol.be>
Date: 2007-12-10 10:05:59 CET

Yesterday I finished the work on the partial repository sync feature on the
svnsync-folder branch. If someone has time to review the changes on that
branches before I merge it back to trunk that would be nice.

This is how it works:
- In svnsync init you can now specify a url to any path in the repository, ex.
http://repos/svn/trunk/www .
- During replay a filter is used that filters out all paths expect:
  - /trunk/www
  - /trunk (depth empty)
  - / (depth empty) -> I have to check if propmods on '/' are actually
included, didn't test it but they should be.
- All revisions on the master of which all files and directories are filtered
out result in empty revisions on the slave.
- This works over all ra layers.

The filter has the same effect as not having read access to /trunk/www. This
means things like moving to /trunk/ww is converted to Add and moving from
/trunk/www is converted to Delete, I didn't have to change anything there.

Since changes to mod_dav_svn had to be made to make this work, the 'partial
replay' feature will only work with a 1.5 server. I added a 'partial-replay'
capability to find this out in a clean way. We return an error when a user
wants to sync a part of the repository on a 1.4 server.

The diff to review is:
$ svn diff http://svn.collab.net/repos/svn/trunk@28341
http://svn.collab.net/repos/svn/branches/svnsync-folder

thx,

Lieven

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 10 10:26:56 2007

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