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

Re: Is a heirarchy of braches possible ?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-04-28 21:00:20 CEST

On Apr 28, 2005, at 1:10 PM, White, Daniel E. wrote:

> OK. Understood.
>
> Now, there seems to be an issue with creating a branch like this.
>
> If I type:
>
> svn copy http://repos/mainProj/trunk
> http://repos/mainProj/branches/developer1/project1/subprojectA/task1/
> sub
> taskB
>
> (Yes, it is an extreme example)
> I get:
> svn: PROPFIND request failed on
> '/mainProj/!svn/bc/182/branches/developer1'
> svn: '/mainProj/!svn/bc/182/branches/developer1' path not found
>
> So, I tried making the directory in a working copy and committing it.
> After that, the command worked.
>
> Is this expected or is there a way to do this in one single step ?
>

It's expected. 'svn cp URL1 URL2' doesn't magically create
intermediate directories.

So your choice is either

    * issue a bunch of 'svn mkdir URL' commands, to build the
structures, or

    * checkout a working copy of the branches/ dir, create the
structure, then 'svn commit' all at once.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 28 21:24:23 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.