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

svnsync for parts of a repository

From: Henrik Sundberg <storangen_at_gmail.com>
Date: Sat, 15 Nov 2008 20:03:49 +0100

I found this in the svn book:
"As of Subversion 1.5, you can limit svnsync to a subdirectory of the
source repository by specifying the subdirectory as part of the
SOURCE_URL."

svnsync help init implies this by:
"The destination URL must point to the root of a repository with no
committed revisions."
(implies, since the repository root isn't mentioned for SOURCE_URL)

How flexible is this?

1) Will the sync operations stop on copy? Will it put a full copy of
the first version copied into the chosen directory?

2) How is ancestry for copies handled? If I copy the same file from
another directory to the synced directory with two different names,
will the mirror contain full versions of both copies?

3) Can only one directory be synced?
Does this mean that I am supposed to mirror a directory containing
trunk/tags/branches, if I want to have the tags mirrored for one
subproject? As opposed to having trunk/tags as the top level of the
repository and just mirror the trunk and tags for a subproject.
Ie can I sync projA in a repository like: /root/projects/projA/{trunk/tags}
but not in this kind of repository?: /root/{trunk/tags}/projects/projA

Do you have any experience of syncing parts of a repository?

/$

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-15 20:04:13 CET

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

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