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

Re: BUG: TortoiseMerge "Ignore case changes" option is broken

From: <khym_at_azeotrope.org>
Date: 2007-03-02 04:52:13 CET

On Thu, Feb 15, 2007 at 01:04:19AM +0000, steven.davison@juno.com wrote:
> OK, legalism and humor aside... My contention is that by any
> meaningful interpretation of the term "Ignore Case Changes" (whether
> technical, traditional, or intuitive), the behavior of "ignoring case
> changes" should be to act as if those changes were never there. The
> diff program should highlight and navigate as if both files had been
> run through a ' tolower ' filter before comparing.

Yes, I agree that the "Ignore case changes" is pretty useless as it is.
That option should behave as "diff -i" does:

$ head -5 /usr/share/dict/words
A
a
aa
aal
aalii
$ sed s/ignore/highlight /usr/share/dict/words | tr '[a-z]' '[A-Z]' > /tmp/WORDS
$ head -5 /tmp/WORDS
A
A
AA
AAL
AALII
$ diff -i /usr/share/dict/words /tmp/WORDS
90830,90832c90830,90832
< ignore
< ignorement
< ignorer

---
> HIGHLIGHT
> HIGHLIGHTMENT
> HIGHLIGHTR
165397c165397
< reignore
---
> REHIGHLIGHT
217072c217072
< unignored
---
> UNHIGHLIGHTD
$
Now if I run TortoiseMerge with "Ignore case changes" checked in single-pane
view, I get:
  1 A
  2 a
  2 A
  3 aa
  3 AA
  4 aal
  4 AAL
  5 aalii
  5 AALII
etc...
The "previous difference" and "next difference" buttons stop on every
line, and there are so many lines in the file that I don't see any
colored bars at the very left that indicate where the changed lines
are. This does not help me locate the real differences at all, whereas
diff -i immediately shows the changes I'm interested in.
Please change the "Ignore case changes" to do a case-insensitive
comparison of the files.
-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym@azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 31 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Mar 2 04:52:31 2007

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