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

Re: File incorrectly marked as "missing" by TSVN, but not by SVN

From: Valik <vampire.valik.ml_at_gmail.com>
Date: 2006-03-15 19:50:30 CET

Stefan Küng wrote:
> Jens Geyer wrote:
>
> I still have your post in my inbox, which means I haven't forgotten the
> problem you've reported. My only problem is that it appears to be some
> kind of race condition (you said refreshing the commit dialog 'solved'
> the wrong status), so it's hard for me to reproduce it.
> Also I think that race condition must be inside the Subversion library,
> because we use the svn_client_status2() API to gather the status.
>
> Stefan
>

FWIW, I had this issue occur yesterday, too. A race condition seems a
good idea because the problem just magically went away for me which
suggests to me that it can sometimes be wrong and sometimes be right. I
didn't have to kill the cache or anything like that to fix it, either.
I just ignored the problem and went on working on other stuff and by the
time I got around to committing, the problem was gone.

I can give you a fairly detailed recount of what I did:
* I use VS2005.
* I had a file named "FileVersion.h" included via svn:externals. This
file was not open for editing in VS.
* I tried compiling a cpp file and received errors in VS's output pane
from "fileversion.h" (Notice the case difference).
* I double-clicked the error line in the output pane causing VS to open
the file for editing. I noticed in the tab at the top, it was named
"fileversion.h".
* I edited the file, saved my changes and went on.
* Later, I went into the externals directory to commit my changes to
"FileVersion.h" when I noticed it had the deleted overlay. The commit
dialog said the file was missing. I remembered the "fileversion.h" tab
name in the editor and I checked and confirmed that the case of the file
was still correct at "FileVersion.h".
* I said "screw it" and decided to commit the changes later. When I
returned later, the commit dialog correctly showed the file as modified
and I committed it and moved on.

-- 
- Valik
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Mar 15 19:51:04 2006

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

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