[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 an exported file (or set of files) against the repository?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 5 Oct 2011 15:26:09 +0200

I'm a bit surprised that 'svn info URL/to/file' does not print the
checksum of the file, even when the filesystem backend has the checksum
stored and doesn't need to calculate it on demand.

Mertens, Bram wrote on Wed, Oct 05, 2011 at 14:49:35 +0200:
> Hi,
>
> I have been unable to find an answer to this in the FAQ or the mailing list archives. I found one question that appears to be similar to what I'm trying to achieve but it did not contain a reply that solves my problem.
>
> I've got a set of files that were exported from a repository some time ago. The files have been moved around and some have been edited since.
>
> I would like to find out: a) what revision these files are from and b) what changes have been made to it that may not be in the repository?
>
> Is this possible without looping through all the revisions and calculating checksums?
> The problem with appraoch besides the time it would take is that it would obviously not catch files that are not 100% identical to the files in that revision.
>
> Thanks in advance for any pointer that would help in this.
>
> Bram
>
>
>
> Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
> VAT BE 0406.024.281, RPR Mechelen, ING 310-0092504-52, IBAN : BE64 3100 0925 0452, SWIFT : BBRUBEBB
>
Received on 2011-10-05 15:26:56 CEST

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