You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Björn Törnqvist <bj...@tornqvist.net> on 2004/04/08 01:04:36 UTC

BUG/FEATURE; svn status bails out

[searced for "being used by another process" in the issuetracker and 
found no submitted issues]

Hello all,

When running svn status in a commandline (winxp) in the project where 
studio.net is running the command bails out because visual studio ha 
locked a file. This is pretty unintuitive, methinks it should keep 
listing the changes.

Example (Having visual studio up and running):
--------------------------------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\code\mophun\BTH-Pinball>svn status
M      Debug\BuildLog.htm
svn: Can't open file 'BTH-Pinball.ncb': The process cannot access the 
file because it is being used by another process.

c:\code\mophun\BTH-Pinball>
-------------------------------

Then, closing studio gives this result, i.e. the status command KEEPS 
LISTING the in the files that are sorted after the previously locked file:

--------------------------------
c:\code\mophun\BTH-Pinball>svn status
M      Debug\BuildLog.htm
M      BTH-Pinball.ncb
M      BTH-Pinball.suo
M      BTHPinball.mpn

c:\code\mophun\BTH-Pinball>
---------------------------------


So, for example, even if Studio is open, I'd still like to se if 
BTHPinball.mpn has changed. Not too much to ask for, is it? Especially 
considering that everything else in subversion works just fine for me. =)

Of course, I would have been happy to submit code that fixes this, but I 
simply cannot build subversion on my windowsbox, but that's another story.

Cheers,

Bjorn


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: BUG/FEATURE; svn status bails out

Posted by Folker Schamel <sc...@spinor.com>.
You should never add ncb or suo files to version control
- this will drive you mad for many reasons.

Björn Törnqvist wrote:

> 
> [searced for "being used by another process" in the issuetracker and 
> found no submitted issues]
> 
> Hello all,
> 
> When running svn status in a commandline (winxp) in the project where 
> studio.net is running the command bails out because visual studio ha 
> locked a file. This is pretty unintuitive, methinks it should keep 
> listing the changes.
> 
> Example (Having visual studio up and running):
> --------------------------------------
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
> 
> c:\code\mophun\BTH-Pinball>svn status
> M      Debug\BuildLog.htm
> svn: Can't open file 'BTH-Pinball.ncb': The process cannot access the 
> file because it is being used by another process.
> 
> c:\code\mophun\BTH-Pinball>
> -------------------------------
> 
> Then, closing studio gives this result, i.e. the status command KEEPS 
> LISTING the in the files that are sorted after the previously locked file:
> 
> --------------------------------
> c:\code\mophun\BTH-Pinball>svn status
> M      Debug\BuildLog.htm
> M      BTH-Pinball.ncb
> M      BTH-Pinball.suo
> M      BTHPinball.mpn
> 
> c:\code\mophun\BTH-Pinball>
> ---------------------------------
> 
> 
> So, for example, even if Studio is open, I'd still like to se if 
> BTHPinball.mpn has changed. Not too much to ask for, is it? Especially 
> considering that everything else in subversion works just fine for me. =)
> 
> Of course, I would have been happy to submit code that fixes this, but I 
> simply cannot build subversion on my windowsbox, but that's another story.
> 
> Cheers,
> 
> Bjorn
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: BUG/FEATURE; svn status bails out

Posted by Ben Reser <be...@reser.org>.
On Thu, Apr 08, 2004 at 03:04:36AM +0200, Björn_Törnqvist wrote:
> When running svn status in a commandline (winxp) in the project where 
> studio.net is running the command bails out because visual studio ha 
> locked a file. This is pretty unintuitive, methinks it should keep 
> listing the changes.

I think this is an issue with Windows locking.  I'm not sure there's
really anything we can do about it.  We try to check modification based
on timestamps and filesize, but if that fails we have to read the
file.

-- 
Ben Reser <be...@reser.org>
http://ben.reser.org

"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

RE: BUG/FEATURE; svn status bails out

Posted by Arild Fines <ar...@broadpark.no>.
Bjorn Tornqvist wrote:
> c:\code\mophun\BTH-Pinball>svn status
> M      Debug\BuildLog.htm
> svn: Can't open file 'BTH-Pinball.ncb': The process cannot access the
> file because it is being used by another process.

See http://ankhsvn.tigris.org/faq.html#XSLTsection129120121120

That's about .projdata files, but the same thing applies to .ncb.

-- 
Arild

AnkhSVN: http://ankhsvn.tigris.org
Blog: http://ankhsvn.com/blog
IRC: irc://irc.freenode.net/ankhsvn

"We've got to find out what people want from fire, how they relate to it,
what sort of image it has for them.' The crowd were tense. They were
expecting something wonderful from Ford.`Stick it up your nose,' he
said.`Which is precisely the sort of thing we need to know,' insisted the
girl, `Do people want fire that can be fitted nasally?'"    


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org