[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 single file using sparse checkouts

From: Peter Samuelson <peter_at_p12n.org>
Date: Fri, 15 Aug 2008 10:39:48 -0500

Please try to attach patches with a Content-Type of text/plain or
text/something, so we can more easily read and quote them in email.
Thanks for the patch, though!

[David Weintraub]
> [[[
> Fix FAQ to demonstrate way to checkout a single file in Subversion
> Revision 1.5. Old FAQ simply stated this was not possible.
> * svn/trunk/www/faq.html
> (frobnicate_file): Check that file exists before frobnicating.
> ]]]

I don't think the log message matches the patch..

> -<p>Subversion does not support checkout of a single file, it only
> -supports checkout of directory structures.</p>
> +<p>Subversion does not officially support checkout of a single file, it
> +only supports checkout of directory structures. However, if you are
> +using Subversion 1.5, you can take advantage of sparse checkouts.</p>
> -<p>However, you can use 'svn export' to export a single file. This will
> -retrieve the file's contents, it just won't create a versioned working
> -copy.</p>
> +Let's say you want to checkout file <tt>build.xml</tt> from the directory
> +<tt>http://svn/repos/foo/trunk</tt> in your Subversion repository:

Looks like you're missing a <p>

> + <blockquote><tt>$ cd foo-build<br/>
> + $ svn update build.xml</tt></blockquote></li>
> +</ul>

and a </p>. You might also put the <tt>...</tt> on its own line like
you did the other instance a few lines earlier.

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 17:40:05 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.