Re: Differences that aren't ?

"Head Geek (伟思礼)" <[email protected]> Sun, 15 Jun 2025 08:22:43 -0700
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
On Jun 15, 2025, at 04:03, Greg Troxel <[email protected]> wrote:
> 
> "Head Geek (伟思礼)" <[email protected]> writes:
>> WGroleau@MBP ~ % head -4 .unison/Countries.prf
>> # Unison sync for Countries/Contries
>> 
>> root = /Users/WGroleau/Countries
>> root = /Users/WGroleau/Contries
> 
> You left out the rest.  I realize you might have your reasons, but it's
> hard to know what's going on.  Perhaps you can create a minimal
> reproducer.

Left out
> logfile = Countries.log
> auto = true
> ignore = Name .unison

on the assumption they were irrelevant to this issue.

>> Only in Countries/AX: Åland_Islands.info
> 
>> Apparently unison reads composed characters on one side and decomposed characters on the other and considers them the same.
>> "A    ̊  **   l   a   n   d "   vs   " Å  **   l   a   n   d"   in the above
> 
> macOS considers upper/lower case sort of the same, and I don't know what
> it does about unicode representation.  I don't know what the unicode

Well, supposedly all text on my system (other than downloads) is UTF8, including filenames.  But that says nothing about decomposition or combination.  If macOS actually created one directory's filenames differently, that would be unexpected and unwanted.

> You didn't explain how you got to this situation, and that's part of why

It was the first time I used unison on this directory.  "Contries" was a typo unnoticed in a command-line script some time in the past, and I didn't know it was there until yesterday.  Whatever I was doing when I created it made it a partial copy of "Countries"

I've used unison often on my websites (Debian Linux) and their local copies and not had this happen.  They do contain non-ASCII in a few filenames.  This might either be a macOS bug or a unison bug, but I don't know a way to figure out which.  Interestingly, the diff did not detect differences in non-directory filenames, one of which is Côte_d’Ivoire.info <https://urldefense.com/v3/__http://ivoire.info/__;!!IBzWLUs!XLkXjZQ064PMs0URyW_syxmW_-yhC2GGYkNnwXhFTnRgfcSJAXhcRylpEVhbuvzjNADjB38h0DSJWlbyzHU0JDtMlK9y$ >

Anyway, it's not high-priority for me; the files themselves are fine and the mistake has been deleted. 

-- 
Wes Groleau

“An adventure is only an inconvenience rightly considered.
 An inconvenience is only an adventure wrongly considered.”
                            ― G.K. Chesterton


To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].