[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: Bob Archer <Bob.Archer_at_amsi.com>
Date: Thu, 12 May 2011 11:14:13 -0400

> Hi Bob,
> > Does the same team us more than one repository? Or is each repo
> used by different people and teams?
> >
> >
> Some members of this team do work with other repositories. But this
> small team (7-10 active devs) is the only one that touches this
> problematic repository.

This makes me think it isn't the repository but the users and the tools/procedures they are using.

> > Is the update funky when there is no file on the disk, or only
> when merging into an existing file?
> >
> >
> Both are true...if the file never existed locally before, it
> arrives
> funky. And if it did exist before, it ends up funky.

Ok, this leaves out the encoding possibility... because I think that would only show issues during an update in which it is merging changes with the current file on disk.

> > What encoding are the files using? I have found that svn doesn't
> really work well with Unicode files.
> >
> I had thought that different encoding on different
> workstations/files
> might be an issue, but don't know of a good way to investigate (I
> found
> a Unix tool, but nothing concrete for Win7). Did you mean the files
> on
> the various workstations, or are you thinking of some setting on
> the
> server-side? Please suggest how to best check the encoding(s?) to
> answer
> your question.
>

Most good editors allow you to view the current encoding on a file. I use Notepad++ and it is able to tell you the encoding of a file you open. You also might want to see if svn:mime-type is set on any of the files that have problems.

> I should mention that at least one member of this team is using a
> 32-bit
> PC/OS and 32-bit current version of Tortoise, the others are using
> 64-bit versions of the OS/Tortoise combo.
> > Is it always the same file(s) or different ones each time?
> >
> Different files each time the incident is observed. This incident
> is not
> observed after every update---only occasionally.

Yes, that's the worst kind of problem to fix. Although, I'm sure you will figure it out when you find that it isn't "random" and actually happens after "something specific" each time. But, until you narrow that down I doubt you'll be able to "fix" it.

BOb
Received on 2011-05-12 17:14:44 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.