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

RE: [PATCH] Correct FAQ: Subversion 1.5 can checkout singlefileusing sparse checkouts

From: David Weintraub <DWeintraub_at_solbright.com>
Date: Fri, 15 Aug 2008 14:17:45 -0400

> Eh, did you try it? 'svn export' is _not_ just for directories. The
> FAQ once suggested 'svn cat'; we now say 'svn export' for two reasons:

I changed it because of this post:
http://svn.haxx.se/users/archive-2008-08/0482.shtml.

-----Original Message-----
From: Peter Samuelson [mailto:peter_at_p12n.org]
Sent: Friday, August 15, 2008 2:01 PM
To: David Weintraub
Cc: dev_at_subversion.tigris.org
Subject: Re: [PATCH] Correct FAQ: Subversion 1.5 can checkout
singlefileusing sparse checkouts

[David Weintraub]
> I've corrected the patch. I've saved it as a type "txt" in hopes that
> Microsoft Outlook will claim it is a text/plain MIME attachment.

Much better, thanks!

> [[[
> Fix FAQ to demonstrate way to checkout a single file in Subversion
> Revision 1.5. Old FAQ simply stated this was not possible. Also
changed
> pre-1.5 instructions to use "svn cat" command instead of "svn
export".
> "svn cat" is for single file while "svn export" is for whole
directories.

Eh, did you try it? 'svn export' is _not_ just for directories. The
FAQ once suggested 'svn cat'; we now say 'svn export' for two reasons:

1. 'svn export' doesn't force you to use a shell redirection, or indeed
   to type the filename twice at all.

2. 'svn export' honors properties such as 'svn:executable' (the file
   should be executable) and 'svn:special' (the file is a symlink).

Other than that, looks good.

-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-15 20:35:02 CEST

This is an archived mail posted to the Subversion Dev mailing list.