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

RE: Can SVN only branch and tag at the highest project level?

From: Cooke, Mark <mark.cooke_at_siemens-healthineers.com>
Date: Wed, 6 Dec 2017 07:50:41 +0000

> -----Original Message-----
> From: Bo Berglund [mailto:bo.berglund_at_gmail.com]
> Sent: 06 December 2017 07:45
>
> It seems like in SVN there must be separate repository folders for tags, branches and trunk below
> each project.
> To me this implies that svn is only able to do these operations at the very top of a project tree, is
> that really so?
> I am coming from CVS(NT) and it was always possible to do the tagging and branching for *anything*
> inside a project tree. For example a subtree could be branced and tagged independently from the main
> project.
> Is this not possible in SVN?
> If so, how can I convert my CVS repository to SVN correctly, while preserving these properties?
> We have used this on many places, for example branching out only a single file or two in a directory
> while leaving the other files on TRUNK.
> Then at a later time when all is checked we merged the changes back into TRUNK.
> Is this not possible in svn?
>
> --
> Bo Berglund
> Developer in Sweden

No doubt others will answer more eloquently but svn imposes no restrictions on the meaning of any folder, the trunk/tags/branch triumvirate is just a convention. You can read the online book for more information:

http://svnbook.red-bean.com/nightly/en/svn.tour.importing.html#svn.tour.importing.layout

~ Mark C
Received on 2017-12-06 08:50:51 CET

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