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

Re: Checking out a single file

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-05-26 01:30:10 CEST

On 5/25/06, Jennifer Kesterson <Jennifer.A.Kesterson@jpl.nasa.gov> wrote:
>
> >
> >>If not, are there any workarounds ?
> >
> >Not really. If you just want to get the file you can use 'svn cat',
> >but that won't let you commit changes.
>
> But that doesn't really 'get' the file, does it? Do you then create
> a file of the same name from the output of 'svn cat'? I too need to
> know how to do this, so we can make partial deliveries of some files
> rather than the whole repo or a whole directory.

Sure, you just have to do something like:

$ svn cat $REPOS/path/to/file.txt > file.txt

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 26 01:31:30 2006

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.