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

Getting one file out of a repository

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

Part of the tree of our working copy for our project is a ./lib directory.
Most libraries are built, but some are pre-built binaries. What I would
like to do would be to export (I don't need version control on the lib
directory) one library from the repository to an existing lib directory
with files already in it. I can't seem to do it.

> svn list $SVNREPOS/lib/libct.lib
libct.lib

> svn export $SVNREPOS/lib/libct.lib tmplibdir
svn: REPORT request failed on '/repository/!svn/vcc/default'
svn:
Cannot replace a directory from within

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

STFW indicates that the message means something got moved within the
repository, but not only don't I think that's the case, but if it was I
doubt "svn list" would work properly.

This is using the svn client on WinXP under cygwin's pdksh shell,
accessing the repository on a Linux box over HTTP. If that matters.

Thanks in advance.
----------------------------------------------------------------------------
DDDD David Kramer david_at_thekramers.net http://thekramers.net
DK KD
DKK D Most people would die sooner than think -- in fact, they do so.
DK KD
DDDD -- Bertrand Russell

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 3 17:30:23 2005

This is an archived mail posted to the Subversion Users mailing list.