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

Re: Getting one file out of a repository

From: David Kramer <david_at_thekramers.net>
Date: 2005-01-03 17:57:48 CET

On Mon, 3 Jan 2005, David Kramer wrote:

> According to the manual, "If repo_url names a single file, just that one
> file is checked out." So I figured I would try checkout, living with the
> fact that we would get a .svn directory too.
>
> > svn co $SVNREPOS/lib/libct.lib libdir
> svn: REPORT request failed on '/repository/!svn/vcc/default'
> svn:
> Cannot replace a directory from within

I just got different results from my server at home (different project,
different repository).

$ svn list
svn://localhost/agilerules/devel/trunk/todo.txt
todo.txt

$ svn co
svn://localhost/agilerules/devel/trunk/todo.txt
svn: URL 'svn://localhost/agilerules/devel/trunk/todo.txt' refers to a
file, not a directory

However, I still get
$ svn export svn://localhost/agilerules/devel/trunk/todo.txt
svn: Cannot replace a directory from within

I thought of the ultra-ugly hack of using "svn cat bla > myfile", but I
would rather not do that long-term. Likewise, since the lib directory has
large libraries in it, I would rather not check out all of lib into a
temporary working copy and copy what I need from that.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 3 18:00:14 2005

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.