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

Re: Is label support in future release?

From: Andy Peters <devel_at_latke.net>
Date: 2006-11-15 00:03:18 CET

On Nov 14, 2006, at 2:47 PM, Joseph Mocker wrote:

> This might be somewhat off topic, but the problem I see with tags
> and branches as they are supported in Subversion is that they lead
> to such an exponential growth in working copies such that there is
> no way one could checkout an entire project, even moderately sized
> (2000 files, 100 tags) including trunk, tags & branches without
> taxing resources in some way (disk, cpu, developer time)
> The downside is that developers need to learn tricks to deal with
> this. For example, developers should only checkout the trunk, but
> that isn't a one step operation if you want to preserve directory
> structure of say project/trunk. First I must "svn checkout -N
> project", then "cd project; svn update trunk".

I guess the question is why would you want or need to check out the
entire project? Check out the trunk if you're working on the trunk.
Check out a branch if you're working on a branch.

> That way when I create a tag, I can just "cd project; mkdir tags;
> svn add tags; svn copy trunk tags/tagname". Straight forward, just
> not a single operation, and the more operations, the more
> possibility to foobar something.

That's WAAAY too complicated! I do something similar and easier,
without checking out the entire project (all branches, all tags, plus
the trunk). I just create the tag directly on the server.

$ cd workingcopyoftrunk
$ svn copy . svn://server/project1/tags/newtag

Simple, eh?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 15 00:04:15 2006

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