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

Re: Preventing a folder from being checked out?

From: Frank Gruman <fgatwork_at_verizon.net>
Date: 2005-07-01 15:11:25 CEST

I guess I am at a loss here because I am not familiar with CVS. But the
example you just created is nothing more than checking out a folder or
set of folders.

If you had a configuration like this:

/trunk
    /syslib
    /project1
    /project2

/tags
    /release10
        /syslib
        /project1
        /project2

Then when you do a checkout, you would only have to type out *5*
additional characters (http://server/svn/trunk/) to get a copy of the
latest tip. When you reached a point of release, you would then do an
svn cp (create a tag) that would point to
http://server/svn/tags/release11. If you needed to build / rebuild /
read / access this release in any way shape or form, you could do an svn
switch to get to that particular tag.

AND - if you really wanted both your tip and your tags on one machine in
one large working copy, you could then checkout the whole thing
(http://server/svn/).

Aside from that, maybe someone else on the list has a comparison of
features between SVN and CVS that might be helpful.

Regards,
Frank

Olivier Sannier wrote:

> Frank Gruman wrote:
>
>> The tags are nothing more than directories. They have no 'real'
>> functionality beyond appearing to be a directory within a larger
>> tree, although because copies are 'cheap' in Subversion, these
>> directories are only pointers to the code as some point in time.
>> From what I gathered, Lorenz idea was about as close as anything else
>> to giving you what you want. It's not a requirement to use branches,
>> so this should work...
>
>
> Yeah I know that, but I want to mimick what CVS does, adapting it to SVN.
>
>> So - that said, what exactly about this doesn't work? What is your
>> specific reasoning for wanting to do this? This may help others
>> reading this to chime in and help out.
>
>
> All I want is to not have (or see) the "trunk" directory at the root
> of everything. So I would have a "tags" directory at the root,
> alongside libs and project1. But I don't want this "tags" directory to
> come along when I do a checkout on / because it's only when I want a
> specific tag that I do a checkout on a given tag.
> So if do this:
>
> svn checkout http://server/svn/
>
> I don't want to see the tags folder in my repository. But if I do this:
>
> svn checkout http://server/svn/tags/release10/
>
> I want to get whats in release10 in my new working copy.
>
> Is this at all possible ?
>
> Thanks for the help
> Olivier
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 1 15:14:41 2005

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