Ketil Malde <ke...@malde.org> writes:

> Peter Verswyvelen <bugf...@gmail.com> writes:
>
>> Forgetting to add a file can be a nasty one, since if you discover
>> that too late, the original file at patch time might not exist
>> anymore (how do you guys solve this? Just plain discipline I
>> guess?).
>
> I've done this once, but with the cabal dependencies, not darcs.  Thus
> the uploaded sdist was missing one of the source files, and
> consequently failed to build.
>
> I suppose the best way is to test this with a separate test repository
> which you don't touch, except from pulling from your development repo
> and checking that it builds.

For what its worth, the darcs "test" preference performs the tests in a
completely fresh working tree that it creates ONLY using files that have
been checked in.  This helps avoid the problem of things only working
"accidentally", because of uncommitted changes.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to