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

Re: Broken WC errornously attempts to add an existing file during commit

From: Mikkel Kirkgaard Nielsen <mkn_at_compugame.dk>
Date: 2006-05-24 00:12:37 CEST

Stefan Küng <tortoisesvn <at> gmail.com> writes:

[on detection missing files]
> 'File' is new. You see, Subversion is case-sensitive, while the windows
> file system is not.

I'm completely with you here, I was just trying to be sure that Lübbe didn't
mean that something magical could detect and react on a missing file,
independently of manual TSVN operations. Rereading his answer that was probably
not what he meant. But I can't see how a missing .exe or .res file in a WC at
any point could end up in the situation I have.

> *was* ok? Does that mean it isn't anymore?

Everything _is_ (and was, after the incident ;) okay in repository. It was only
the commit from the broken WC that failed.

[server side delete of files with same basename]
> That could only affect Subversion, if one or more of those files were in
> use when you did the update. Subversion tries to delete such files on an
> update (they're deleted in the repository, so it has to be deleted in
> the working copy too). If those files are locked by other apps, it can't

And the stale file would probably end up as a non-versioned file at next commit
as it isn't present in HEAD on repository anymore, right?

> delete them cleanly. But I think even then you'll just get an error and
> it shouldn't corrupt the working copy.

I was thinking more in the lines of errournous deletion of the .svn/text-base
entries for a file with a related name (.tds was removed on repository but .res
or .exe text-base entries is removed in WC). But that's pure speculation, as
nothing indicates this except that the text-base entries are missing...
 
> Did you merge some changes from another branch? There's an issue in the
> Subversion issuetracker where a merge can corrupt a working copy under
> some very special circumstances.

I don't think so. Our graphical designer for sure hadn't, and we have only done
 branch merges as experiments on our test repository, not the production
repository where this happened.

I still believe there's a bug lurking behind this, as I'm pretty confident that
the only thing our graphical designer has done is editing images, and committed.

Has there ever been any issues with networked drives? We are running on SMB/CIFS
shares from a Windows Server, at least the sw folks, but maybe not the graphical
designer. I'll check that tomorrow.

Mikkel,

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed May 24 08:26:38 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.