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

RE: File missing from repository

From: Ulrich Eckhardt <Eckhardt_at_satorlaser.com>
Date: 2005-12-16 14:28:28 CET

Chak wrote:
> We use Visual Studio.NET, SVN and TortosieSVN. There are
> times when VS.NET generates a .CS file (C# code file) for
> a Crystal reprt file automatically. Some of the coders in
> the team check these newly generated .CS file in to the
> repository and others do not.

I generally wouldn't check these in. Only when making a
release, I'd add the results of unittests and the final
executable to the repository, for normal development this
generates too many secondary changes for my taste.

However, that is not what you asked about...

> When the one who did not
> check it in tries to update his WC, he gets a 'File already
> exists' error even though the file has not been versioned.

Yes, Subversion tries to retrieve the newly added file and
store it locally only to find another such file already
exists there. It won't overwrite this file in order not to
destroy any work you did on it.

> So some of them have it in version and some do not. So
> while i was trying to manage these kind of inconsitencies,
> the repository seems to have lost the Crystal report
> corresponding to one such inconsistently versioned .CS
> file.
>
> How can a file get missed out from the repository though a
> file with the same prefix, but a different suffix was
> being managed ?

Different suffix means different name, which means two
different and independant files for Subversion. Further,
even the case matters, fou.cs is something different than
fou.CS for Subversion.

> Any guesses on what could have gone wrong ?

Probably a user error, sorry. Anyhow, Subversion doesn't
destray any work unless explicitly told to and even then
only locally and never in the repository. So, everything
that was once put into the repository can still be
retrieved from it - after all that is what version control
is for (being a time machine according to the book).

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 16 14:34:48 2005

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.