[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] case sensitivity bug(?) on Mac OS X
From: |
Kyle Hammond |
Subject: |
[Monotone-devel] case sensitivity bug(?) on Mac OS X |
Date: |
Tue, 6 Sep 2005 09:05:26 -0500 |
Hi,
I'm not sure this is really an error in monotone per se, as much as a
new error message is needed for the Mac OS X (Darwin) version of
monotone.
I am part of a group at the Univ. of Minnesota starting to use
monotone with a small development group (three developers). The main
developer committed a project to his database that has been in
development for about three years on a Linux system. I pulled all of
the information from the main monotone database to my local database
on Mac OS X over the network just fine.
I was then doing a branch checkout from my local database to obtain a
new working copy. I received the following error message.
monotone: fatal: std::exception:
boost::filesystem::create_directories: "cgi/class": path exists and
is not a directory
monotone: this is almost certainly a bug in monotone.
monotone: please send this error message, the output of 'monotone --
full-version',
monotone: and a description of what you were doing to monotone-
address@hidden
monotone: discarding debug log (maybe you want --debug or --dump?)
Looking at the original project, there is a folder named 'cgi' at the
root level. Within that folder, there is a text file named "Class"
as well as a folder named "class". This is definitely a problem with
case sensitivity on Mac OS X. The default Mac OS X file system (HFS
+) is not case sensitive, so cannot have two files (or folders) with
the same name except for case differences. The Mac OS X version of
monotone should at least detect this situation and have a better
error message about case-sensitivity not being supported.
We're going to change our project on the Linux system to have
different file/folder names so we should be able to use monotone then.
monotone --full-version
monotone 0.22 (base revision: 28058ae3e850229a5d8fae65415cbbf82b435377)
Running on: Darwin 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun 24
17:46:54 PDT 2005; root:xnu-792.2.4.obj~3/RELEASE_PPC Power Macintosh
Changes since base revision:
new_manifest [10362ee0d4a3dc70c67ab38ec21db76d3d231320]
old_revision [28058ae3e850229a5d8fae65415cbbf82b435377]
old_manifest [10362ee0d4a3dc70c67ab38ec21db76d3d231320]
Also, here is a little test I ran on a Mac OS X 10.4.2 system in
Terminal to confirm that HFS+ is not case sensitive.
$ cat >testing
hello
$ ls -al
total 8
drwxr-xr-x 4 genbio admin 136 Sep 6 08:52 .
drwxrwxr-x 33 root admin 1224 Sep 6 08:23 ..
-rw-r--r-- 1 genbio admin 6 Sep 6 08:52 testing
$ more testing
hello
$ mkdir testing
mkdir: testing: File exists
$ cat >Testing
does this work?
$ ls -al
total 8
drwxr-xr-x 4 genbio admin 136 Sep 6 08:52 .
drwxrwxr-x 33 root admin 1224 Sep 6 08:23 ..
-rw-r--r-- 1 genbio admin 16 Sep 6 08:54 testing
$ more testing
does this work?
Best regards,
Kyle
-------------
Kyle Hammond
address@hidden University of Minnesota
Information Technology Professional
General Biology Program, College of Biological Sciences
3-104 Molecular & Cellular Biology, 420 Washington Ave SE, Mpls MN 55455
(612) 624-2311 FAX: (612) 626-7823
- [Monotone-devel] case sensitivity bug(?) on Mac OS X,
Kyle Hammond <=