From: Frederik Minatchy [mailto:***@yahoo.fr]
Sent: Wednesday, 13 August 2008 18:21
To: John Niven; Ryan Schmidt
Cc: ***@subversion.tigris.org
Subject: Re: svn export on several files
But I have tried to export one single file... and it works....
I can confirm that - just tried exporting a single file and it worked just fine. That'll teach me to test before posting ;-)
Perhaps it is a new svn' s feature....
Quite possibly - I tried against a SVN 1.5 Beta repository.
Thank you for your replies
No worries, apologies for the inaccuracy.
Cheers
John
--- En date de : Mer 13.8.08, Ryan Schmidt <subversion-***@ryandesign.com> a écrit :
De: Ryan Schmidt <subversion-***@ryandesign.com>
Objet: Re: svn export on several files
À: "John Niven" <***@bravurasolutions.com>, "Frederik Minatchy" <***@yahoo.fr>
Cc: ***@subversion.tigris.org
Date: Mercredi 13 Août 2008, 6h55
Post by John NivenPost by Frederik MinatchyI would like to export several files in one command line.
I have tried something
svn export "http://pipo/molo/toto.java
http://pipo/molo/moto.java
Post by John NivenPost by Frederik Minatchyhttp://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/
Post by John Nivenen/svn.ref.svn.c.export.html or "svn help export") "svn
export [-r
Post by John Niven[PATH2]". Since you're using two paths you're usign the
second
Post by John Nivenform. This represents "export the directory *tree* at path1 to
path2", so that's why SVN isn't parsing your command. Also
note
Post by John Niventhat 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
________________________________
Envoyé avec Yahoo! Mail <http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html> .
Une boite mail plus intelligente.