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

Re: How to compare working copy file with older version of that file?

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Thu, 29 May 2008 17:35:46 -0500

On May 29, 2008, at 15:39, Grant Edwards wrote:

>>> I wonder if you have a corrupt repository, and Subversion runs into
>>> trouble when it is trying to create the text of the file you're
>>> asking
>>> about from its history of changes. What happens when you do "svn
>>> cat"
>>> of that file, with a URL, or with a -r switch, or both?
>>
>> Same thing:
>>
>> $ svn info matrixConfig.h
>> Path: matrixConfig.h
>> Name: matrixConfig.h
>> URL: svn://lnxdb/devicemaster/ecos/ecosapps/branches/MatrixSSL/
>> matrixssl/src/matrixConfig.h
>> Repository Root: svn://lnxdb/devicemaster
>> Repository UUID: 11e97225-5210-0410-b87b-0f6ef07e6056
>> Revision: 2068
>> Node Kind: file
>> Schedule: normal
>> Last Changed Author: grante
>> Last Changed Rev: 2068
>> Last Changed Date: 2008-05-22 18:02:04 -0500 (Thu, 22 May 2008)
>> Text Last Updated: 2008-05-29 15:08:32 -0500 (Thu, 29 May 2008)
>> Checksum: ce78bb1e2fc3cf98c7618c054f7baed2
>>
>> $ svn cat -r 2057 matrixConfig.h
>> svn: File not found: revision 1972, path '/ecos/ecosapps/trunk/
>> matrixssl/src/matrixConfig.h'
>>
>>
>> <and in a different directory that's not a working copy of
>> anything...>
>>
>> $ svn cat -r 2057 svn://lnxdb/devicemaster/ecos/ecosapps/
>> branches/MatrixSSL/matrixssl/src/matrixConfig.h
>> svn: File not found: revision 1972, path '/ecos/ecosapps/trunk/
>> matrixssl/src/matrixConfig.h'
>
> Both the branch and the file in question were added by revision
> 1973. Neither that branch nor the file existed in revision 1972.
>
> I don't get why svn thinks that file should exist in the trunk
> in revision 1972.

Can you try verifying the repository? Run "svnadmin verify /path/to/
repository" on the server.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-30 00:36:20 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.