[darcs-devel] darcs patch

David Roundy droundy at abridgegame.org
Fri Aug 20 03:24:40 PDT 2004


On Thu, Aug 19, 2004 at 10:33:17AM -0400, Tommy Pettersson wrote:
> 
> Thu Aug 19 16:30:08 CEST 2004  Tommy Pettersson <ptp at lysator.liu.se>
>   * bugfix, reverse test condition in set_defaultrepo
> 

Content-Description: A darcs patch for your repository!
> 
> New patches:
> 
> [bugfix, reverse test condition in set_defaultrepo
> Tommy Pettersson <ptp at lysator.liu.se>**20040819143008] {
> hunk ./RepoPrefs.lhs 265
> -set_defaultrepo r opts = do doit <- if not (SetDefault `elem` opts)
> +set_defaultrepo r opts = do doit <- if (SetDefault `elem` opts)
> }

I didn't accept this patch because although it fixes the bug, it also
changes the default behavior, so instead I fixed this by going to a
double-negative.  But thanks a lot for pointing this bug out!
-- 
David Roundy
http://www.abridgegame.org




More information about the darcs-devel mailing list