[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: Tim Hill <drtimhill_at_comcast.net>
Date: 2006-12-01 21:58:01 CET

An alternative I recommend when creating the initial layout is to
create it locally using normal OS commands (not svn commands), and
then use "svn import" to add the whole tree to the repository. This
is one of the few Subversion commands that takes as input a local
folder that is *not* a working copy.

I think this approach is better because you can get the whole layout
"right" and fix mistakes locally before the commit (import).

--Tim

On Dec 1, 2006, at 12:08 PM, Boos, Paul M. wrote:

> That was it - for some reason I was thinking it would have been making
> changes directly into the repository.
>
> Paul
>
>
> Paul M. Boos, PMP
> NIPO Program Manager
> SAIC: From Science to Solutions
> Office: 703-419-5065
> Mobile: 703-307-4322
> On-Site: 703-601-9831 (no voicemail)
> eMail: paul.m.boos@saic.com
> Navy eMail: paul.boos@navy.mil
>
>
> -----Original Message-----
> From: Mark Phippard [mailto:markphip@gmail.com]
> Sent: Friday, December 01, 2006 11:41 AM
> To: Boos, Paul M.
> Cc: users@subversion.tigris.org
> Subject: Re: Working Copy Issue
>
> 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 1 21:58:59 2006

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