[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: White, Daniel E. <dwhite_at_witsusa.com>
Date: 2005-04-28 21:11:54 CEST

Excellent. I had missed the 'svn mkdir' command.

Many thanks.

-----Original Message-----
From: Ben Collins-Sussman [mailto:sussman@collab.net]
Sent: Thursday, April 28, 2005 3:00 PM
To: White, Daniel E.
Cc: users@subversion.tigris.org
Subject: Re: Is a heirarchy of braches possible ?

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:38:22 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.