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

Re: how to grab a single file revision from a repository?

From: Ben Collins <bcollins_at_debian.org>
Date: 2003-06-16 20:04:29 CEST

On Mon, Jun 16, 2003 at 12:05:10PM -0700, sjohnson wrote:
> Is there a way to grab an arbitrary revision of a single file from a
> repository without having to have a working copy of the directory that
> contains the file, or at least without having to effect the current
> state of the working directory. What I'm looking for, I suppose, is a
> replacement for cvs update's -p option.
>
> I was hoping that 'svn export' would let me grab a single file, but it
> apprears to only work on collections.

svn cat -r REV URL > file

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 16 21:10:07 2003

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.