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

Re: export file with full path

From: Ilja Golshtein <ilejn_at_yandex.ru>
Date: 2005-09-19 14:02:02 CEST

Hi!

>> How to export a file from repository
>> preservings it's path?

[skipped]

>> What is the best way to do this
>> really simple thing, considering the fact trunk
>> contains a lot of files I am not interesting in?
>
>mkdir -p `dirname /tmp/aaa/bbb/myfile1`
>svn export svn://ahost/aproject/trunk/aaa/bbb/myfile1 /tmp/aaa/bbb/
>myfile1
>
>mkdir -p `dirname /tmp/ddd/eee/myfile2`
>svn export svn://ahost/aproject/trunk/ddd/eee/myfile2 /tmp/ddd/eee/
>myfile2

Thanks for advice.

I have some workaround in my Perl
script (mkdir -p is not portable enough).

The reason I am asking I cannot completely
believe better way does not exist.

-- 
Best regards
Ilja Golshtein
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 19 14:04:17 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.