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

Re: Visual Studio build fails because .svn\wc.db is open

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 10 Feb 2012 07:58:33 +0100

On 10.02.2012 01:15, Steve Yates wrote:
> For a variety of reasons the intent is for me to commit only compiled
> code to a repository. I admit I am a relative newbie to using a
> repository and TortoiseSVN. What I have done so far is:
>
> - Create a directory in my repository under /branches (as I was
> directed) - Checkout the empty branch to my populated build
> directory - SVN Commit the directory to the repository (which
> uploaded all the files)
>
> At this point if I try to build again, I get the message:
>
> Error 5 Unable to delete file "C:\Users\.....\Test
> Server\\.svn\wc.db". The process cannot access the file
> 'C:\Users\.....\Test Server\\.svn\wc.db' because it is being used by
> another process.
>
> So presumably that's because TortoiseSVN has wc.db open and thus
> Visual Studio can't delete it to repopulate the folder. How do I
> work around that? Is there a better way to accomplish this?

Why does your build even try to delete that file? It must not even touch
that file or any other file inside the hidden .svn folder!

Change your build accordingly, or SVN won't work at all.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2920379
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-10 07:58:48 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.