[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:39:32 CEST

On 5/25/06, Giovanni Bajo <rasky@develer.com> wrote:
> Garrett Rooney <rooneg@electricjellyfish.net> wrote:
>
> >> 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
>
>
> Or simply:
>
> svn export $REPOS/path/to/file.txt

Huh. I had no idea svn export would work on a single file. You learn
something new every day.

-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:42:00 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.