From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1257) From: Jeff Sickel In-Reply-To: Date: Fri, 10 Feb 2012 11:50:39 -0600 Content-Transfer-Encoding: 7bit Message-Id: <22E32EF7-9007-4BDE-BD9A-805BD1DF066E@corpus-callosum.com> References: <2002F9BB-6E50-47A0-8809-B01DAB4E2595@corpus-callosum.com> <1898D5B4-7CFA-4289-B099-19406B182028@corpus-callosum.com> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] current python & hg support Topicbox-Message-UUID: 6339e322-ead7-11e9-9d60-3106f5b1d025 On Feb 10, 2012, at 11:03 AM, John Floren wrote: > On Fri, Feb 10, 2012 at 8:44 AM, erik quanstrom > wrote: >>> Mercurial's a good example as it's got a lot of logic in place to >>> deal with all sorts of odd filesystems already. >>> >> >> well if that the case, then its support isn't worth much. >> nix has been dealing with problems due to osx : mangling. >> >> - erik >> > > I think we decided that the : mangling came from a careless copy from > an iso9660 image... but OS X may be responsible for the case-mangling > of Kill and kill. That's a good example. If you create the repo on a case-sensitive filesystem and add 'Kill' and 'kill' then you'll find that the repo always has that file in it. If you clone the repo to a case insensitive filesystem, you end up with which ever file comes out of the repo last when you do an 'hg up'. Mercurial preserves both, but you may be in trouble is someone on a case insensitive file system makes a commit to 'Kill'. Luckily the history will be there and it's easy to recover. For those using 9vx on OSX: it's really easy to set up your local drive to support a case sensitive file system. Just don't make it the root partition or where /Users resides in case you run any applications out of ~/Applications that come from certain large corporations (aka any that really pushed the Carbon APIs, or applications that originated in Carbon but were only slowly migrated to Cocoa). You can create a case-sensitive disk image, though that has some drawbacks. Partition your drive and then add an entry into /etc/fstab so that it always mounts at a logical place, and not some /Volumes with a potentially variable name. -jas