umlauts in file names between OSX and Windows

Jouni Airaksinen Jouni.Airaksinen at descom.fi
Tue Jan 4 04:54:28 CST 2011


OK Thanks. Not sure though how is the extension supposed to help with the 
problem in OSX. I noticed that in OSX Mercurial thinks the file is new (?) 
but doesn't show missing file (!) until the "new" file is removed. So 
somehow it's linking the file as the correct one even though status tells 
otherwise.

Regarding the extensions not included with Mercurial.. anyone has good 
enterprise pattern to handle extensions and hooks distribution? Especially 
when there is mix of Windows, OSX and Linux users. Windows users seem the 
have the most problems because of ie. Eclipse has it's own HG. I've tried 
to instruct not to use the bundled hg but TortoiseHg's Hg, but then again 
it's whole python and stuff in one package so extensions have to be 
absolute paths and cannot easily use modules not included in TortoseHg 
package. It's also very labourous to handle the hgrc settings manually for 
each user.  I have to inspect the %include, but Windows users generally 
would prefer the GUI stuff for all settings and rest, so I have to provide 
some template hgrc (and updates into it) to "enforce" proper setup. That 
said I really welcome the relative paths fix for hooks though.



From:   Mads Kiilerich <mads at kiilerich.com>
To:     Jouni Airaksinen <Jouni.Airaksinen at descom.fi>
Cc:     mercurial at selenic.com
Date:   04.01.2011 12.20
Subject:        Re: umlauts in file names between OSX and Windows



On 01/04/2011 09:58 AM, Jouni Airaksinen wrote:
> Hey,
>
> Is there anyway in OSX to access files with umlauts created in Windows
> to the repository?
>
> Right now I have repository with files containing "a with dots" in file
> names put in with Windows (originally SVN converted repository, strangly
> enough conversion done in OSX). The repository log shows the file names
> fine, however when I clone/update the repository to working directory
> the files are written in OSX way (kind of two characters) and Mercurial
> thinks (hg status) the files are new files (with ?). Strange is also
> that Mercurial doesn't think the file is missing (with !).
>
> Files added directly in OSX work fine, although logs show the file names
> sameway as in OSX, so I have no idea if Windows users would face same
> problem when trying use those files.
>
> I guess I'm left with only option to delete the files in Windows
> (hopefully works there) and just instruct people not to use umlauts in
> file names? I'm using 1.7.2, although I noticed some change with umlauts
> in 1.7.3.

See http://mercurial.selenic.com/wiki/FixUtf8Extension .

/Mads

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20110104/7a7eae41/attachment.htm>


More information about the Mercurial mailing list