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

Re: 'svn export' is inconsistent with 'svn checkout' for nested directories

From: Dirk Schenkewitz <schenkewitz_at_docomolab-euro.com>
Date: 2005-07-04 19:14:43 CEST

Gifford, Noel wrote:
>
>
> The following works:
>
> svn checkout http://<repository>/svn/trunk/dirA/dirA1 dirA/dirA1
>
>
>
> The following doesn’t work:
>
> svn export http://<repository>/svn/trunk/dirA/dirA1 dirA/dirA1
>
>
>
> For both cases, the <current directory> is empty.
>
>
>
> Expected result for ‘checkout’ :
>
>
>
> <current directory>
>
> dirA
>
> dirA1
>
> .svn
>
> <files>
>
> <directories>

Why this? If it works/worked properly (auto-creating parent dirs),
I would rather expect

dirA
dirA/dirA1
dirA/dirA1/.svn
dirA/dirA1/<files>
dirA/dirA1/<subdirs>

> Expected result for ‘export’ :
>
>
>
> <current directory>
>
> dirA
>
> dirA1
>
> <files>
>
> <directories>

Same here, or did I misunderstand what you mean?

> Actual result of ‘export’ using svn client 1.2.0-r14790 :

Since ./dirA does not exist, the following would expected by me.

> Windows XP --- svn : Can’t create directory ‘dirA\dirA1’: The system
> cannot find the path specified
>
> Linux – FC3 --- svn: Can’t create directory ‘dirA/dirA1’: no such file
> or directory

You should create 'dirA' before doing the export.

I'm astonished that it works for checkout.
You're right, that is inconsistent.

Best regards
   Dirk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 4 19:17:28 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.