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

Re: particularly checkout

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-07-09 14:54:40 CEST

On Fri, 2004-07-09 at 07:50, Stephan Sachse wrote:
> Hi,
>
> i have a project with some core and additional components.
> repository looks like this
>
> repos-+
> |-branches
> |-+trunk
> | |-core
> | |-module1
> | |-module2
> | |-module3
> | `-module4
> `-tags
>
> i have a pre-commit hook with svnperms.py and config file like this
>
> [prj]
> branches/[^/]+/.* = @Commiter(add,update,remove)
> tags/[^/]+/ = @Commiter(add)
> trunk/.* = @Commiter(add,update,remove)
>
> now I would tag core, module1 and module2 with PRJ_1_0_0 but i have no
> clue how i can do this.
>
> Chapter 4. Branching and Merging -> "Creating a Complex Tag" looks good
> for me but how can i checkout only core, module1 and module2?
>
> i try followig
>
> $ svn co https://.../repos/prj/trunk -N
>
> and got a wc, no i tryd to checkout core into this wc
>
> $ cd trunk
> $ svn co https://.../repos/prj/trunk/core
>
> -> svn: Working copy 'core' not locked
>
> no i try to checkout the subdirectorys with
>
> $ svn co https://.../repos/prj/trunk/core \
> https://.../repos/prj/trunk/module1 prj
>
> this will work, but i got 2 wc (core and module1) and i can't tag this
> with one command
>
> can anyone tell me how i can ceckout trunk particularly?

You can't. But there's no need. Just copy /trunk to /tags/PRJ_1_0_0.
Does it really matter that module3 and module4 are in the tag? If so,
you can always delete them from the tag directory (after you create the
tag.)

In general, when tagging something, there's nothing wrong with taking a
snapshot (copying) all of trunk, even if you don't need everything. It
doesn't take up any extra space.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 9 14:56:51 2004

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.