You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Lieven Govaerts <lg...@mobsol.be> on 2006/06/08 21:21:22 UTC

consistency: svn checkout creates intermediate folders, svn export does not

Hi, 


when checking out a branch to a local folder like this:

svn checkout http://svn.collab.net/repos/svn/trunk /tmp/a/b/c/d
(where /tmp/a doesn't exist)

Subversion will automatically create all intermediate folders a, b & c.

Whereas,
svn export http://svn.collab.net/repos/svn/trunk /tmp/a/b/c/d
(where /tmp/a doesn't exist)

will give:
svn: Can't create directory '/tmp/a/b/c/d': The system cannot find the path
specified.

In terms of consistency, shouldn't svn export also create the intermediate
folders? 

I can create a patch for it, just want to make sure that this is what we
want.

regards,

Lieven.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: consistency: svn checkout creates intermediate folders, svn export does not

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 6/8/06, Lieven Govaerts <lg...@mobsol.be> wrote:
> Hi,
>
>
> when checking out a branch to a local folder like this:
>
> svn checkout http://svn.collab.net/repos/svn/trunk /tmp/a/b/c/d
> (where /tmp/a doesn't exist)
>
> Subversion will automatically create all intermediate folders a, b & c.
>
> Whereas,
> svn export http://svn.collab.net/repos/svn/trunk /tmp/a/b/c/d
> (where /tmp/a doesn't exist)
>
> will give:
> svn: Can't create directory '/tmp/a/b/c/d': The system cannot find the path
> specified.
>
> In terms of consistency, shouldn't svn export also create the intermediate
> folders?
>
> I can create a patch for it, just want to make sure that this is what we
> want.

I don't see any reason export shouldn't create intermediate directories.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org