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

Re: svn export on several files

From: Frederik Minatchy <frederik78_at_yahoo.fr>
Date: Wed, 13 Aug 2008 06:20:42 +0000 (GMT)

But I have tried to export one single file... and it works....

Perhaps it is a new svn' s feature....

Thank you for your replies

--- En date de : Mer 13.8.08, Ryan Schmidt <subversion-2008c_at_ryandesign.com> a écrit :
De: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Objet: Re: svn export on several files
À: "John Niven" <jniven_at_bravurasolutions.com>, "Frederik Minatchy" <frederik78_at_yahoo.fr>
Cc: users_at_subversion.tigris.org
Date: Mercredi 13 Août 2008, 6h55

On Aug 12, 2008, at 19:27, John Niven wrote:

> Frederik Minatchy wrote:
>
>> I would like to export several files in one command line.
>>
>> I have tried something like :
>>
>> svn export "http://pipo/molo/toto.java
http://pipo/molo/moto.java
>> http://pipo/molo/molo.java"
>>
>> but I am said that there is a parsing error...
>
>
> The format for "svn export" is
(http://svnbook.red-bean.com/nightly/
> en/svn.ref.svn.c.export.html or "svn help export") "svn
export [-r
> REV] URL[@PEGREV] [PATH]" or "svn export [-r REV] PATH1[@PEGREV]
 
> [PATH2]". Since you're using two paths you're usign the
second
> form. This represents "export the directory *tree* at path1 to
> path2", so that's why SVN isn't parsing your command. Also
note
> that export works on directory *trees*, not files.

Right, "svn export" is for exporting entire directories. If you want

to see the contents of a file, use "svn cat". If you want multiple
files, issue "svn cat" multiple times. Like this:

svn cat http://pipo/molo/toto.java > toto.java
svn cat http://pipo/molo/moto.java > moto.java
svn cat http://pipo/molo/molo.java > molo.java
Received on 2008-08-13 17:13:50 CEST

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.