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

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

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2006-06-08 23:21:22 CEST

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
Received on Thu Jun 8 23:26:12 2006

This is an archived mail posted to the Subversion Dev mailing list.