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

Re: Incorrect list content in Commit dialog

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-04-04 19:42:24 CEST

On 2/21/06, Jens Geyer <jgx@vsx.net> wrote:

> We noticed repeatedly on different computers, that the changes list in the
> Commit dialog is sometimes incorrect. Especially there are files marked as
> "missing" which are not changed and have not even been touched recently.
>
> If one presses F5 to force a refresh of the list, after that second try
> normally the list content is correct.
>
> Unfortunately, we were not able to create a reproducable scenario. There is
> no exact scheme, when this occurs and which files are marked as "missing".
> For us, it looks very much like a race condition.
>
> The behaviour has been first observed with the TortoiseSVN 1.3.0 release, it
> still exists in the 1.3.1 build 5521.
> We use TortoiseSVN on Win-XP Professional and Win-2000 Professional
> operating systems.

I just found a possible reason for this:
if files get renamed case-only (e.g. file.txt to File.txt), then TSVN
tries to adjust the case again (to avoid having duplicate entries in
the repository, since Subversion is case-sensitive). By adjusting the
filenames, you won't notice why TSVN shows the status 'missing' for
those files - when you check that the case has already been adjusted.
But of course, the status-fetching is done before adjusting/correcting
the case, so those files will show up as 'missing' in the commit (or
other) dialogs.

I've now changed TSVN so that it fetches the status again after
adjusting the case of file/foldernames. That gets rid of bogus
'missing' status entries.

Not sure if that's really the reason for what you reported here - you
can try the next release (due tomorrow) which will have this fix in
it. If the problem persists, please report it again.

Stefan

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Apr 4 19:43:54 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.