[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 fileusing sparse checkouts

From: David Weintraub <DWeintraub_at_solbright.com>
Date: Fri, 15 Aug 2008 12:32:57 -0400

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.

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

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 20:34:53 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.