suppress warning about --partial
authorSimon Marlow <marlowsd@gmail.com>
Tue, 5 Apr 2011 08:40:41 +0000 (09:40 +0100)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 5 Apr 2011 11:20:06 +0000 (12:20 +0100)
sync-all

index 9b0706e..685c3b6 100755 (executable)
--- 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";
                 }