--lazy overrides --partial too
authorSimon Marlow <marlowsd@gmail.com>
Tue, 9 Feb 2010 09:39:27 +0000 (09:39 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 9 Feb 2010 09:39:27 +0000 (09:39 +0000)
At least until we switch to --lazy being the default

darcs-all

index 6340315..79f7a83 100644 (file)
--- 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"];
     }