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

Re: Random files being "reverted" on one repository

From: Thorsten Schöning <tschoening_at_am-soft.de>
Date: Wed, 11 May 2011 18:05:07 +0200

Guten Tag Dave Tingling,
am Mittwoch, 11. Mai 2011 um 17:50 schrieben Sie:

> 1) - Developer A: adds, edits and commits a file X,
> 2) - Developer A: later, again edits and commits file X,
> 3) - Developer A: still later, again edits and commits file X,
> 4) - Developer N: who has never before seen file X, runs an update. She
> gets a weird version of file X which contains only *some* lines of the
> set of changes made by Developer A in each of the edit/commit sessions
> (1), (2), and (3).

And this behaviour is reproducible, meaning that every time the file x
is deleted from the local working copy of dev N on each and every
update the newly created file is freaky? Is it freaky on clean
checkouts, too?

> We cannot replicate the problem on demand, but it recurs with
> (seemingly) random files at random times. The worst thing is that when
> an update silently "reverts" some unknown file (to a "frankenstein"
> version), it is subsequently committed as a new version by the
> unsuspecting developer.

How do you know that the update is the problem? If the file in the
repository looks fine, I don't think the problem comes with the
update, but afterwards, on any build actions or stuff like that. As
you say: The freaky file is committed by dev N and that is the
problem, between update and commit it is somehow changed. The update
process just make changes to the local file, if already present, that
are on the server and it's pretty likely that this will work as
expected.

The interesting part is between update and commit of dev N and in your
case i would look at the diffs to maybe get an idea of the tool or
process or whatever is responsible for the changes in the file. Maybe
there's something common in every changes?

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoening_at_am-soft.de
Web:     http://www.am-soft.de
AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow
Received on 2011-05-11 18:04:58 CEST

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

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