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

Re: I miss tags

From: Stephen Webb <swebb_at_netlab.uky.edu>
Date: 2004-09-29 01:56:25 CEST

I'm actually not sure that I miss tags...

I have been trying to follow this thread, but being new to Subversion, I'm
pretty sure I have missed some things. I'm not even sure that I
understand things well enough to ask meaningful questions, but I'm feeling
brave:

To make a tag, you make a copy of the trunk and put it into the tags
directory (or wherever you want).

e.g.

calc/trunk/
          src/
          docs/

svn cp calc/trunk calc/tags/my_new_tag -->
(or whatever)

calk/tags/my_new_tag/
                    src/
                    docs/

OK. So now another user does an svn update in calc. They automatically
get a working copy of that "my_new_tag" copied into their local
filesystem, right? Is there a way to prevent this? I'm in the habit of
going to the root and doing an svn update so I can get all the new
goodness that is out there -- but I don't really want private copies or
tags that other people are tweaking on. It isn't really a space or time
issue at this point, but I imagine it could be. (more of a clutter issue)

(This has probably been suggested many times, but I probably missed it..)

Choosing a different layout:

with the root having

trunk/
branches/
tags/

and projects living inside...

trunk/
     calc/
         src/
         docs/

     calendar/
             src/
             docs/
 
     project3/
  ...

branches/
        calc/
            my_special_branch/
                             src/
                             docs/

...

This would allow me to enjoy the "out of sight / out of mind" nature of
tags (ie when I do a svn update in trunk, I don't get all the
tags/branches, but it's still an easy way to get all of the recent
development) -- why not do it this way?

I'm assuming there is some disadvantage (or at least "the book suggests
doing it the other way")

Or perhaps the "traditional" (?) setup:

calc/
    trunk/
    tags/
    branches/

with an additional "out of sight" top level directory where people can put
their private branches...

(Which halfway addresses my "problem")

The "problem", BTW is that I want a tag or a branch to be private. I
don't want other people to be bothered by it when they do an svn
update. I don't want them confused as to which version they should be
linking against, etc. (but of course I still want it to be version
controlled, etc..)

Eh?

-Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 29 02:57:52 2004

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