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

Re: [TSVN] Wish: Case-insensitivity within files

From: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-07-04 16:12:28 CEST

Robert Schneider wrote:
> I still don't understand: If I configure svn to use a special
> diff tool is it only for visualising the differences (and merge
> them if needed or whatever is necessary)? Or is it also used
> when e.g. svn status is performed (without a GUI, only to check
> whether something has changed)? I think this is not the case.

You are right. And there is nothing TSVN can do about it either. The
'modified' status comes from the subversion library, not from TSVN, so
unless subversion itself changes, we can't.

Subversion compares file date and size first. If they are the same as
the BASE version, the file is unmodified. If date and size are both
different from the BASE file, then it is modified. If the date is
different and the size is the same, then SVN has to do a byte-wise
check. I think it does this by calculating an MD5 sum for the file and
comparing with the MD5 sum for the base, but I could be wrong there.

But if subversion did grow that feature, it would make status calls very
slow indeed, because you would be reading the whole file for every
status check.

A better solution might be to write a pre-processor which converts files
into VB preferred format, so that VB never wants to change anything.

   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jul 4 16:11:50 2005

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

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