summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-04-05 09:40:41 +0100
committerSimon Marlow <marlowsd@gmail.com>2011-04-05 12:20:06 +0100
commit3a50b1f6cb7d4455c0df851b213a51e67bb16c7f (patch)
treeef79519c7175f28ac7b84328b04c63c25d981eac /sync-all
parent06bf361cae4364f7f568688d30d22a4a3fc914ec (diff)
downloadhaskell-3a50b1f6cb7d4455c0df851b213a51e67bb16c7f.tar.gz
suppress warning about --partial
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync-all b/sync-all
index 9b0706eb03..685c3b6284 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";
}