Ryan Schmidt wrote on Mon, 25 Jan 2010 at 17:10 -0600:
> On Jan 25, 2010, at 07:25, trans wrote:
> > Is it possible to keep tags/ and branches/ in the trunk/ so as not to
> > have to differentiate these three at the top of a repository.
> I'm going to go with a firm "no" on this one. Do not attempt to do
> this. Instead, follow the standard layout.
> In your scheme, not only, as you've noticed, would checking out the
> trunk also check out all branches and all tags, which would be
+1. (If you think for a moment, it's going to be O(n^2) in the number of
> it also prevents you from using the usual way to create tags, i.e.
> copying the trunk to the branches or tags directory -- in your scheme,
> you can't do this, because you can't copy a directory into itself.
> $ svn cp trunk trunk/branches/foo
> svn: Cannot copy path 'trunk' into its own child 'trunk/branches/foo'
Works with URLs:
% svn cp ^/trunk/ ^/trunk/foo -mr2
Committed revision 2.
% svn up
Updated to revision 2.
Received on 2010-01-26 00:38:39 CET