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

Fwd: export to path/to/sub/dir

From: Brooke Smith <novorivus_at_optusnet.com.au>
Date: 2005-01-16 04:25:07 CET

Hi all,

I'm just reading this and wonder if anyone has an answer to this
question. Allan Juul asked:

> well, you are pre-creating the directories [$ mkdir -p tmp/export/test]
>
> i simply don't understand the difference in behavior between a
> checkout and an export - they are totally identical apart from
> existence of the .svn directory, right?. so what's the logic in the
> fact that the checkout command *can* indeed create an arbitrary path
> but the export command *can not* ?

Thanks,

Brooke

Begin forwarded message:

> From: allan juul <lambretta@inet.uni2.dk>
> Date: 7 January 2005 9:54:31 AM
> To: Max Bowsher <maxb@ukf.net>
> Cc: users@subversion.tigris.org
> Subject: Re: export to path/to/sub/dir
>
> Max Bowsher wrote:
>
>> allan juul wrote:
>>> hi
>>>
>>> on my system max os x [svn, version 1.0.9 (r11378)] the below command
>>> doesn't work, which is surprising since the equivalent checkout
>>> command
>>> does work
>>>
>>> this does *not* work
>>> $ svn export http://svn.collab.net/repos/svn/trunk path/to/sub/dir
>>>
>>> this works
>>> $ svn co http://svn.collab.net/repos/svn/trunk path/to/sub/dir
>>>
>>> this works too
>>> $ svn export http://svn.collab.net/repos/svn/trunk path
>>>
>>> is that intended behavior ?
>> max@zephyr [~/tmp] $ mkdir -p tmp/export/test
>> max@zephyr [~/tmp] $ svn export $rs/trunk/notes tmp/export/test/here
>> A tmp/export/test/here
>> A tmp/export/test/here/repos_upgrade_HOWTO
>> A tmp/export/test/here/repeated-merging
>> A tmp/export/test/here/sql-backend
>> A tmp/export/test/here/webdav-proxy
>> ...
>> A tmp/export/test/here/propfind-pool-notes
>> A tmp/export/test/here/old
>> A tmp/export/test/here/old/karlnotes
>> A tmp/export/test/here/old/draft-korn-vcdiff-01.txt
>> Exported revision 12610.
>> Works for me.
>
> well, you are pre-creating the directories [$ mkdir -p tmp/export/test]
>
> i simply don't understand the difference in behavior between a
> checkout and an export - they are totally identical apart from
> existence of the .svn directory, right?. so what's the logic in the
> fact that the checkout command *can* indeed create an arbitrary path
> but the export command *can not* ?
>
> ./a
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---
In a world without walls or fences,
what's the need for Gates and Windows?
Received on Sun Jan 16 13:04:42 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.