[darcs-devel] burst of patches from conflicts

David Roundy droundy at darcs.net
Tue Oct 23 15:01:42 UTC 2007


On Tue, Oct 23, 2007 at 04:53:21PM +0200, Eric Y. Kow wrote:
> > > > +    unsafeCompare Identity Identity = True
> > > 
> > > Hmm.  Why are hunk patches excluded from this?
> > > I might have already asked this and forgotten the answer.
> > 
> > I'm not sure I understand what you mean by hunk patches being excluded.
> 
> Ah, sorry for the awkward quoting/phrasing.
> 
> My question was why unsafeCompare of two hunk patches is always False.
> The main issue is that I don't know (/forgot if you had already
> explained) what unsafeCompare is ultimately for.

Two hunks are accounted for by the line:

    unsafeCompare (FP f1 fp1) (FP f2 fp2)
        = f1 == f2 && fp1 `unsafeCompare` fp2
-- 
David Roundy
Department of Physics
Oregon State University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20071023/d2ccbb6a/attachment.pgp 


More information about the darcs-devel mailing list