[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: John Niven <jniven_at_bravurasolutions.com>
Date: Thu, 14 Aug 2008 09:59:51 +1200

        From: Frederik Minatchy [mailto:frederik78_at_yahoo.fr]
        Sent: Wednesday, 13 August 2008 18:21
        To: John Niven; Ryan Schmidt
        Cc: users_at_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-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
                
                

                

________________________________

        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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-14 00:00:26 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.