Eric Kow wrote:
On Wed, 29 Apr 2009, Steven G. Johnson wrote:
Applying patch 436 of 449... Unapplicable patch:
Tue Jul 31 19:43:29 EDT 2007 [email protected]
* remove Makefile.in files, which are generated by automake darcs:
./Makefile.in: removeFile: does not exist (No such file or
directory)
If it's just that one patch, it should be possible to somehow convince
darcs that it never existed in the first place, perhaps by editing one
of the inventory files.
Is this repository also publicly available?
Thanks for your quick response.
A tarball of the repository is available at
jdj.mit.edu/~stevenj/badrepo.tar.gz
I'm not completely sure how to edit the inventory to convince Darcs that
the patch does not exist. I tried just removing the lines that seem to
correspond to this patch in one of the files in _darcs/inventories, and it
*seems* to work. At least, 'darcs repair' does not complain anymore, and
'darcs get' looks like it works again. You can do a 'darcs get' of the
"fixed" repository from:
jdj.mit.edu/~stevenj/betterrepo
However, since I don't actually know what Darcs' repository format is, I'm
a little nervous that I haven't edited it correctly, and have left the
repository in a corrupted state in a way that just isn't visible yet.
Advice is welcome.
Regards,
Steven G. Johnson
PS. I've tried to re-corrupt the repository by running autoreconf,
automake, etcetera, but so far no stray Makefile.in files are being
created; perhaps this was a bug with an earlier version of autoreconf.
PPS. It's a little confusing that the files in _darcs/inventories all end
with ".gz" but are apparently plain-text files.
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users