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

Exporting single files

From: Xavier Cazin <xavier_at_editions-oreilly.fr>
Date: 2004-03-26 16:40:23 CET

Hi everyone,

In my quest to extracting only selected files from an svn repository, I've
not been lucky so far. Since 'svn export' only extracts repositories, and
'svn copy' assumes that the target is already a working directory, the only
solution I've found so far is to use

  svn cat file:///my-repo/mysubdir/myfile > mysubdir/myfile

which additionally assumes that I've created mysubdir before!

If you know a smart way to achive the same result, please speak up! :-)

Thanks!
Xavier.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Éditions O'Reilly           <URL:http://www.oreilly.fr/>
18 rue Séguier
75006 PARIS                     Fax :  +33 1 40 51 52 31
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 26 16:41:12 2004

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.