You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Collins <bc...@debian.org> on 2003/06/16 18:04:29 UTC
Re: how to grab a single file revision from a repository?
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