[darcs-users] darcs repair: "darcs failed"

Antoni Villalonga frikimaster at gmail.com
Thu Jul 22 20:30:16 UTC 2010


2010/7/22 Petr Rockai:
> This is likely a bogus rename patch. This is not hard to correct
> manually by editing the patches, although I do not recommend you to do
> that unless you really know what you are doing. I think that darcs will
> eventually grow a feature to repair such repositories automatically,
> since there are quite a few in the wild. In the meantime, you shouldn't
> need to worry too much about it. Unfortunately, you won't be able to do
> check or repair in the meantime. If you broke your repository today,
> restoring from the previous-day backup and re-recording any patches that
> are missing is the best course of action, I think. The alternative is to
> share the repo with us and we could look into repairing it. However,
> personally I won't have time until next week, since I am hiking over the
> weekend and leave tomorrow morning. :))

Hi Petr,

I can't share the repo, sorry.
So, I'm trying to edit the patch :-)

The patch filename is:
_darcs/patches/20100219131550-acb52-eb2052c320a468e8a93fea8bcaf7112b29dd33cc.gz

After edit this (big) file i got:
  darcs check
  darcs: failed to read patch:
  Fri Feb 19 14:15:50 CET 2010  scripts at dorna.com
    * trying to fix darcs
  Couldn't parse file
/tmp/dev2_2010/_darcs/patches/20100219131550-acb52-eb2052c320a468e8a93fea8bcaf7112b29dd33cc.gz

I think I don't broke the patch "syntax"
There is a checksum or any thing else i have to edit?

I think it's not a hashed repo due to it was created with Darcs v1.0
and it has files like: "_darcs/pristine/app/misc/filename.php"

Thanks!!

-- 
"I'm a carny. I live for games of chance." - Heroes 4x13

Antoni Villalonga i Noceras
#Bloc# ~> http://friki.CAT
#Jabber# ~> friki at bulmalug.net


More information about the darcs-users mailing list