[darcs-users] Possible fix for issue1270

Eric Kow kowey at darcs.net
Fri Jan 9 09:44:42 UTC 2009


> Fri Jan  9 10:07:26 CET 2009  lele at nautilus.homeip.net
>   * resolve issue1270: don't show the motd when --xml-output is given

Applied, thanks!

resolve issue1270: don't show the motd when --xml-output is given
-----------------------------------------------------------------
> +--   unless either the 'XMLOutput' or the 'Quiet' flags are passed in

thanks for updating that too

>  show_motd :: [DarcsFlag] -> String -> IO ()
> hunk ./src/Darcs/Repository/Motd.lhs 44
> -show_motd opts repo = unless (Quiet `elem` opts) $ do
> +show_motd opts repo = unless (Quiet `elem` opts || XMLOutput `elem` opts) $ do

just narrowing down to the 'active ingredient' for the interested

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20090109/e3b43986/attachment.pgp 


More information about the darcs-users mailing list