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

Re: Special support for tags and branches

From: Nik Clayton <nik_at_ngo.org.uk>
Date: 2006-07-09 18:09:00 CEST

hakon@ion.no wrote:
> TAGS
>
> All tag directories below the Project's "svn:tags-location" directory
> should have a property "svn:tag", with a value of e.g. "/svn/trunk@1452"
> of the source of the tag.

This doesn't work. A tag is just a branch you haven't committed to yet.
  I have, on rare occasions, copied trunk/ to tags/foo/, and then merged
a followup commit from trunk/ to tags/foo/ instead of laying down a new tag.

"Sliding" tags in this way is an operation that other systems, including
CVS, support.

Also, what happens to these properties if directories are moved around?

   svn mkdir trunk tags branches
   svn commit -m 'Create normal infrastructure'

... time passes. Commits happen under trunk/, trunk/ is copied under
tags/ multiple times ...

And now the repo needs to support a second project. So the committer does:

   svn mkdir project1
   svn commit -m 'Place for project1 to live'
   svn move trunk project1
   svn move tags project1
   svn move branches project1
   svn commit -m 'Move project1 files under project1'
   svn mkdir project2
   svn mkdir project2/trunk project2/tags project2/branches

What happens to these properties under this sort of move?

N

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 9 18:09:31 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.