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

Re: Working Copy Issue

From: Mark Phippard <markphip_at_gmail.com>
Date: 2006-12-01 17:40:30 CET

Boos, Paul M. wrote:
> This is probably a REAL basic question.
>
> We just installed SVN 1.4.2 on WindowsXP svc pack 2 using the self
> extracting binary. We created a repository, and then went to do a series of
> svn mkdir to create our project structure. We get back the following error
> message:
>
> svn: '.' is not a working copy
>
> As we look into the SVN book, we understand what a working copy is, but see
> nothing that we did that should prevent one from being created.
>
> Anyone seen this error? What did we miss?
>
You either need to do svn mkdir using a URL so that it is created
directly in the repository. Such as:

svn mkdir -m "Initial" file:///repos/Project
svn mkdir -m "Initial" file:///repos/Project/trunk
svn mkdir -m "Initial" file:///repos/Project/branches

etc...

Or, if running the mkdir on your local WC, you need to have a WC. This
would mean you have run svn checkout to create a WC. You could checkout
the empty root of your repository:

svn co file:///repos

Then run svn mkdir locally on the WC followed by a single commit. The
error is saying that the command is being run locally in a directory
that is not a WC. To make it a WC, it needs to have been created by
checkout.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 1 17:42:42 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.