So, using unsafPerformIO patchinfo all that time was a mistake, the
correct function to use in reproducible tests should be rawPatchInfo
(slightly ill named function if it is only used in tests..).
You introduce validation functions in Darcs.Patch.Info and then use them
in combination with QuickCheck's `suchThat` function to generate usable
fields for patchinfo's.
Also no longer used generatore are removed from
D.T.Patch.Arbitrary.RepoPatchV1 .
Good, accepted.
|