[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: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Wed, 13 Aug 2008 14:56:41 -0500

On Aug 13, 2008, at 07:02, Brad Stiles wrote:

>> 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:
>
> Since "svn export" works for single files (I use it all the time),
> is there some performance or other reason to use "svn cat" instead?

svn export was intended for directories and svn cat was intended for
files. svn export works for files now too, but older versions of
Subversion did not allow svn export to be used with single files:

http://subversion.tigris.org/issues/show_bug.cgi?id=1708

Therefore if you are concerned with portability to prior versions of
svn, you should use svn cat for files. If this is just for your own
personal use, or if you already require your users to have a
sufficiently recent version of svn, then svn export for files should
be fine.

---------------------------------------------------------------------
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-13 21:57:32 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.