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

Re: Is it possible to check out a part of the repository tree?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-05-19 17:06:20 CEST

On Tue, 2004-05-18 at 23:52, caoqiuliang@crisen.com wrote:
> Hi,
> I have a question: Is it possible to check out a part of the repository
> tree?

Yes, just checkout any URL you wish. The URL can be as "deep" in the
repository as you want.

> svn co -N file:///h:/db/Help h:/myClient/Help

Non-recursive checkouts tend to be extremely broken. At this time, you
cannot do a non-recursive checkout of a tree, and then make
sub-directories "appear" by checking them out. It's apparently
something that CVS users do, but SVN currently can't handle.

My advice to you at this time is to avoid the -N switch altogether.

> What is the reason? What I want to do is to add the permission control to
> Subversion, in a similar way like SourceSafe. That is to say, a folder is
> visible to user A but invisible to user B. For doing this, I have to be able
> to control a part of a repository tree.

Set up an apache server and configure mod_authz_svn. It's all explained
in chapter 6 of the book. When user B does a checkout of a large tree,
he won't receive the folder that he's not allowed to access.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 19 17:11:17 2004

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.