From: Simon Marlow Date: Tue, 5 Apr 2011 08:40:41 +0000 (+0100) Subject: suppress warning about --partial X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=3a50b1f6cb7d4455c0df851b213a51e67bb16c7f suppress warning about --partial --- diff --git a/sync-all b/sync-all index 9b0706e..685c3b6 100755 --- a/sync-all +++ b/sync-all @@ -275,7 +275,7 @@ sub scmall { } # The first time round the loop, default the get-mode - if (not defined($get_mode)) { + if ($scm eq "darcs" && not defined($get_mode)) { warning("adding --partial, to override use --complete"); $get_mode = "--partial"; }