Created on 2007-02-02.00:08:29 by arachnoid, last changed 2009-08-27.14:06:11 by admin.
msg1456 (view) |
Author: arachnoid |
Date: 2007-02-02.00:08:20 |
|
When operating on an HFS+ file system, darcs 1.0.8 will sometimes
fail partway through a darcs get when applying patches. This behavior
doesn't happen on UFS file systems.
An example:
---
Looking-Glass:~/src jeremye$ darcs get --partial http://
darcs.haskell.org/c2hs/Copying patch 179 of 179... done!
Applying patch 107 of 179... Unapplicable patch:
Wed May 18 03:42:11 EDT 2005 chak@cse.unsw.edu.au
* rearranging darcs repo
darcs failed: Error applying hunk to file ./base/todo
Looking-Glass:~/src jeremye$ cd /Volumes/UFS/
Looking-Glass:/Volumes/UFS jeremye$ darcs get --partial http://
darcs.haskell.org/c2hs/
Copying patch 179 of 179... done!
Applying patch 179 of 179... done.
Finished getting.
Looking-Glass:/Volumes/UFS jeremye$ darcs --version
1.0.8 (release)
Looking-Glass:/Volumes/UFS jeremye$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.6
Looking-Glass:/Volumes/UFS jeremye$ uname -a
Darwin Looking-Glass.local 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep
25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386
---
This is using darcs 1.0.8, GHC 6.6 (both installed from source
through MacPorts if it matters), Mac OS 10.4.8 (Intel). I believe it
has something to do with HFS+ case insensitivity, since base/todo is
actually called base/TODO in the c2hs repository when I view it in a
browser. There are mentions of other problems on HFS+ <http://
lists.osuosl.org/pipermail/darcs-users/2005-March/005938.html> but I
don't know whether this is related or whether the problem is even
specific to darcs.
|
msg1458 (view) |
Author: droundy |
Date: 2007-02-02.20:17:47 |
|
I believe this is a known issue, when the history of the repository
contains states that can't be represented on case-insensitive filesystems.
We plan to (some day) implement a new kind of database-stored pristine
cache, which should make this work.
--
David Roundy
Department of Physics
Oregon State University
|
msg1500 (view) |
Author: kowey |
Date: 2007-03-06.07:30:48 |
|
On Fri, Feb 02, 2007 at 00:08:29 +0000, Jeremy Ehrhardt wrote:
> Looking-Glass:~/src jeremye$ darcs get --partial http://
> darcs.haskell.org/c2hs/Copying patch 179 of 179... done!
Thanks for this.
This is another case-sensitivity issue. At some point in the history,
the files
./hipar/base/TODO
and ./hipar/base/todo
were created.
Later on, the patch 107 made things blow up by trying to remove
./hipar/base/todo; however, since the file system is case insensitive
only the file ./hipar/base/TODO was there. I think the story is that
it tried to apply the hunk removals, but got confused in because they
weren't approppriate to this file.
Jeremy, you should be able to just cp -R the repository from the (case
sensitive) UFS file system back to your HFS+ one.
Marking superseded and deferred.
|
msg2392 (view) |
Author: markstos |
Date: 2008-01-09.04:28:20 |
|
This is resolved with DarcsTwo. Users need only use --hashed or --darcs-2
formats.
|
|
Date |
User |
Action |
Args |
2007-02-02 00:08:29 | arachnoid | create | |
2007-02-02 20:17:56 | droundy | set | status: unread -> unknown nosy:
droundy, tommy, beschmi, kowey, arachnoid messages:
+ msg1458 |
2007-03-06 07:31:18 | kowey | set | nosy:
droundy, tommy, beschmi, kowey, arachnoid messages:
+ msg1500 |
2007-03-06 07:40:38 | kowey | set | nosy:
droundy, tommy, beschmi, kowey, arachnoid messages:
+ msg1501 title: Mac OS X filesystem-related glitch -> case-insensitive filesystems confuse darcs |
2007-03-06 07:43:19 | kowey | set | status: unknown -> deferred nosy:
droundy, tommy, beschmi, kowey, arachnoid superseder:
+ case-insensitive filesystems confuse darcs title: case-insensitive filesystems confuse darcs -> darcs get fails on MacOS X (case-insenstive) |
2007-03-06 07:43:37 | kowey | set | nosy:
droundy, tommy, beschmi, kowey, arachnoid messages:
- msg1501 |
2007-08-03 17:24:37 | droundy | set | status: deferred -> duplicate nosy:
droundy, tommy, beschmi, kowey, arachnoid |
2008-01-09 04:28:21 | markstos | set | status: duplicate -> resolved-in-unstable nosy:
+ markstos messages:
+ msg2392 |
2008-09-04 21:30:25 | admin | set | status: resolved-in-unstable -> resolved nosy:
+ dagit |
2009-08-06 17:49:08 | admin | set | nosy:
+ jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, arachnoid |
2009-08-06 20:53:20 | admin | set | nosy:
- beschmi |
2009-08-10 22:01:34 | admin | set | nosy:
+ arachnoid, - darcs-devel, zooko, jast, Serware, mornfall |
2009-08-10 23:59:20 | admin | set | nosy:
- dagit |
2009-08-25 18:00:59 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 14:06:11 | admin | set | nosy:
tommy, kowey, markstos, darcs-devel, arachnoid, thorkilnaur, dmitry.kurochkin |
|