[PATCH] upgrade casecollisionauditor to portabilityauditor

Adrian Buehlmann adrian at cadifra.com
Tue May 3 14:02:57 CDT 2011


On 2011-05-02 19:55, Adrian Buehlmann wrote:
> # HG changeset patch
> # User Adrian Buehlmann <adrian at cadifra.com>
> # Date 1304343849 -7200
> # Node ID 663767d08c5193686b9672d0e5954526f335f572
> # Parent  d8ba6fb2ce15add4937ce9c3710e8dbd99648818
> upgrade casecollisionauditor to portabilityauditor
> 
> - include calls to checkfilename and checkwinfilename in auditor
> - check filenames on rename/copy/addremove
> - scmutil.checkportable and checkportabilityalert are no longer needed
> 

This patch is wrong for renames that change case

  adi at ubuntu1:~/tmp/a$ hg rename foo FOO
  warning: possible case-folding collision: 'FOO'

There should be no warning (or abort) in this case.




More information about the Mercurial-devel mailing list