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

Re: File contents in repository do not match contents in working directory

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-09-14 20:46:43 CEST

Flomo Togba Kwele wrote:
> I am new to TortoiseSVN and SVN itself. I've been using v1.4.5 on a VS2005 project. There are
> approximately 2000 source files in the repository.
>
> I checked out the entire tree to a different folder than usual to see if I could depend on the
> output. On building the code with VS, I found many files not in the repository. After cleaning that
> up, there was a single compilation error.
>
> I traced it to a file whose contents in the repository do not match the contents in the working
> directory. When I look at the log in the repository for the file, it shows revision 14. Since I am
> using the $Revision$ keywords, I see that the version in the working directory is 33!

Check the url of your file (explorer, right-click on the file, choose
"properties" from the explorer menu, then go to the "Subversion" tab in
the properties page). I guess it points not to your /trunk folder but
some other, which means you have checked out from a wrong url.
Or you have used the 'switch' command to switch a file or folder to
another url. Or you haven't checked out from HEAD but another revision.

Also, you might have done something while "cleaning up the compilation
errors". What exactly did you do there? If you moved files around or
copied folders without using the proper TSVN commands, you will get an
inconsistent working copy (or even a completely screwed up one).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Sep 14 20:43:15 2007

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

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