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

Re: Module alias & tags in SVN

From: Andrew Thompson <subversionuser_at_aktzero.com>
Date: 2005-05-26 15:45:55 CEST

Kurien Mathew wrote:
> I would like to know how SVN handles the following scenario(from CVS).
>
> I have a module alias defined as follows:
>
> mymod
> moda1/x.txt
> moda1/y.txt
> modb/m.txt
>
> mymod is then tagged TAG1.
>
> Subsequently mymod is changed to
>
> mymod
> moda2/x.txt
> moda2/y.txt
> modb/m.txt
>
> Now if a request is made for TAG1 what would I get? Would I get the
> files from module moda1?

You'd get exactly what you tagged as TAG1.

If you later decided to delete/rename the original TAG1, and make a new
TAG1 from the current mymod, then you'd get what was in mymod at the
time you made the tag.

If you checked out(or switch'ed) to the tag, and made changes there,
you'd be updating TAG1, and only TAG1. Remember that tags are a logical
construct in Subversion. A tag is only a tag because you make an
agreement to not further change it.

-- 
Andrew Thompson
http://aktzero.com/
Interested in a hosted SVN repository? Email me, let's talk...
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 26 15:50:04 2005

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.