New submission from Will Thompson <[EMAIL PROTECTED]>:
Afternoon,
I ran into a bug whereby reverting some but not all of the hunks in a
particular repository yields:
Do you really want to revert these changes? y
darcs: bug in darcs!
fromJust errorsrc/Darcs/Patch/Viewing.lhs:84 compiled Dec 18 2007 00:40:56
at src/Darcs/Patch/Viewing.lhs:84 compiled Dec 18 2007 00:40:56
Please report this to [EMAIL PROTECTED],
If possible include the output of 'darcs --exact-version'.
`darcs --exact-version` yields:
darcs compiled on Dec 18 2007, at 00:48:49
unknown
which is not particularly illuminating. It is in fact built from
darcs-2.0.0pre2.tar.gz with GHC 6.6.1 on Ubuntu Gusty (7.10).
Some experimentation has revealed that, in this particular repository,
the error can be reproduced by choosing:
* not to revert the first hunk, then
* to revert at least two other hunks, which need not be adjacent.
If, instead, you revert only the first hunk, then the bug is still
reproducable with the same steps in the resulting working copy.
I've taken a quick peek at Viewing.lhs and at Apply.lhs, but can't see
an obvious cause.
I have tarred and feathered the repository to
<http://www.willthompson.co.uk/tmp/hfuse-fromJust-viewing_lhs.tar.bz2>,
in the hope that it will be of some use!
Thanks,
----------
messages: 2432
nosy: beschmi, droundy, kowey, tommy, will
status: unread
title: fromJust error in Viewing.lhs when reverting certain combinations of
hunks in a repo
__________________________________
Darcs bug tracker <[EMAIL PROTECTED]>
<http://bugs.darcs.net/issue583>
__________________________________
_______________________________________________
darcs-devel mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-devel