Just resending this because it didn't make it to the tracker
(could not serialize due to concurrent access)
On Sat, Jan 01, 2011 at 17:16:00 +0000, Eric Kow wrote:
> On Tue, Nov 23, 2010 at 23:00:54 +0000, Ganesh Sittampalam wrote:
> > In principle this might be behaviour-changing, but I don't think it is
> > and it seems like the obvious thing to do. The tests are fine with it.
> >
> > 1 patch for repository darcs-unstable@darcs.net:screened:
> >
> > Mon Nov 22 06:33:42 GMT 2010 Ganesh Sittampalam <ganesh@earth.li>
> > * make checkUnrecordedConflicts use the correct patch type for the repo
>
> Looks good to me.
>
> make checkUnrecordedConflicts use the correct patch type for the repo
> ---------------------------------------------------------------------
> > Ganesh Sittampalam <ganesh@earth.li>**20101122063342
> > - where cuc :: Repository Patch C(r u t) -> IO Bool
> > + where cuc :: Repository p C(r u t) -> IO Bool
>
> Context here is that Patch is for Darcs 1 patches and that RealPatch
> is for Darcs 2 patches.
>
> At first I was scratching my head at how the old code worked, but I
> guess that's just all the other functions used here taking type variable
> for patches and so not caring. So I *think* this means we now have
> also extra assurance being forced to take both kinds into account.
> For example, now we know that nothing in cuc or the stuff it calls
> pattern matches on Patch stuff.
--
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
For a faster response, try +44 (0)1273 64 2905 or
xmpp:kowey@jabber.fr (Jabber or Google Talk only)
|