On Sun, Aug 28, 2005 at 05:44:29PM +0200, Marco Baringer wrote:
> 
> hi,
> 
>   i've two patches which, when apply'ing them, give this error:
> 
> darcs: bug in get_extra.
> Most likely this is caused by a bug that existed in darcs prior
> to version 1.0.1.  Details for dealing with this issue can be found
> at http://darcs.net/DarcsWiki/Issues1.0.1
> 
> however neither of the patches were created by darcs 1.0.1, one was
> created by 1.0.2 and the other by 1.0.3. i've previously applied from
> moth of these people so i don't think it's a darcs version problem.

Thanks for the bug report!

My best guess (also note that darcs 1.0.4 will give a slightly better error
message in this case) is that somehow the patches have gotten a bit messes
up in transit.  Somehow darcs isn't recognizing that the patch

Sun Jul 17 23:39:50 EDT 2005  Jos\c3\a9 Pablo Ezequiel Fern\c3\a1ndez <[EMAIL 
PROTECTED]>
  * More accurate information regarding versions and how to get the software.

in the context of those patches is the same as the patch of the same name
that is in your repository.  I wonder if the problem is in the weird
characters in José's name.

In fact, here's a bit of a hint:

$ grep 20050717213407 _darcs/inventory /tmp/patch2
_darcs/inventory:José Pablo Ezequiel Fernández <[EMAIL 
PROTECTED]>**20050717213407] 
/tmp/patch2:Jos� Pablo Ezequiel Fern�ndez <[EMAIL PROTECTED]>**20050717213407] 

I'm not sure what character sets are involved here, but somehow someone
(perhaps my mailer, or someone else's mailer?) translated that accented 'e'
and 'a' into a different character set.  You could check if the original
sender is able to apply the patches.  I think you probably can make these
patches work just by replacing the three instances of Jos�'s name with the
contents of your _darcs/inventory and removing the patch hash (which will
be invalidated by that edit.  It is probably better to ask for a resend,
and to track down how the name got modified.  It may be that an older darcs
caused this, but I have no recollection of such a bug.  Asking the
contributors who sent these patches for a copy of their _darcs/inventory
would also be nice, to see if that somehow differs from yours.
-- 
David Roundy
http://www.darcs.net

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to