[darcs-users] darcs convert

Eric Kow kowey at darcs.net
Fri Jul 31 11:58:54 UTC 2009


On Fri, Jul 31, 2009 at 10:42:35 +0200, Max Brown wrote:
> When converting an old repo, I get the following error message:
> ==============
> $ darcs --version
> 2.2.1 (release)
> $ darcs convert hrm
> [... I understand the consequences of my action ...]
> Directory '/Users/max/darcs2/hrm' already exists, creating repository
> as '/Users/max/darcs2/hrm_0'
> darcs failed:  Error applying hunk to file ./irates/irates.tex
> ==============

You appear to be running MacOS X, which makes me guess that you may be
suffering from a problem related to case sensitivity, a sort of
corruption that older versions of darcs simply didn't notice, but that
we're paying the price for now with newer versions of Darcs that *do*
notice. [*]

Three questions, if I may:

1. Have you been using a Darcs 1 client until the time you decided
   to do the conversion?  Or have you long upgraded to Darcs 2
   without also upgrading your repository?

2. What happens when you do:
    darcs get --old-fashioned hrm

3. And also
    darcs get --hashed hrm

> Is there some way to fix this so I can convert the repo?

If I'm right, I think there probably is, but it may be slightly

We'll be happy to coach you through the process and hopefully write it
down on the wiki somewhere if we can make a general pattern out of it.



[*] The price in question being cries of "argh! Darcs 2 is broken!", cf

Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090731/6f93db2c/attachment.pgp>

More information about the darcs-users mailing list