Re: Subversion Doesn't Have Branches aka Crossing the Streams aka Branches as First Class Objects?
From: Zé <jose.passes_at_gmx.com>
Date: Sun, 19 May 2013 09:51:22 +0100
On 05/18/2013 09:16 PM, Johan Corveleyn wrote:
This has already been repeated multiple times. Didn't you followed the
Again, the problem is that subversion does not support branches or tags.
here's a small, concrete, reproducible example.
1) Create a brand new repository:
$ svnadmin create /tmp/repository
2) Set the repo initial layout:
$ svn mkdir branches tags trunk
3) Populate the trunk:
$ svn checkout file:///tmp/repository working_copy
4) Start a feature branch by copying the trunk directory to a dedicated
$ svn copy file:///tmp/repository/trunk
5) Work on the feature:
$ svn checkout file:///tmp/repository/branches/awesome_feature/ feature
6) Delete a development branch subdirectory:
$ svn delete file:///tmp/repository/branches/awesome_feature
7) This is the problem:
$ svn checkout --revision 3 file:///tmp/repository/branches wc
ze_at_ubuntu:wc$ tree
1 directory, 2 files
-- ZéReceived on 2013-05-19 10:51:59 CEST |
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.