X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=darcs-all;h=963dfa3b0110d747e51fc1d4a4457773235a99a6;hb=0c658578d609f93a25a8dff97b5cead055b246e3;hp=63403155220454d7c8980617cdc32a8fa2c15d2c;hpb=bc6f3d39d5f2811282d2948a25da8e4c8481f4c8;p=ghc-hetmet.git diff --git a/darcs-all b/darcs-all index 6340315..963dfa3 100644 --- a/darcs-all +++ b/darcs-all @@ -213,7 +213,7 @@ sub darcsget { my ($repo_base, $checked_out_tree) = getrepo(); - if (! grep /(?:--complete|--partial)/, @_) { + if (! grep /(?:--complete|--partial|--lazy)/, @_) { warning("adding --partial, to override use --complete"); $r_flags = [@_, "--partial"]; } @@ -285,6 +285,11 @@ sub main { elsif ($arg eq "--testsuite") { $tags{"testsuite"} = 1; } + # --extralibs tells get to also grab the extra repos. + # It has no effect on the other commands. + elsif ($arg eq "--extra") { + $tags{"extra"} = 1; + } elsif ($arg eq "--checked-out") { $checked_out_flag = 1; }