Ignore failure for "./sync-all checkout"
authorIan Lynagh <igloo@earth.li>
Wed, 27 Apr 2011 15:21:45 +0000 (16:21 +0100)
committerIan Lynagh <igloo@earth.li>
Wed, 27 Apr 2011 15:22:37 +0000 (16:22 +0100)
Not all repos are necessarily branched.

sync-all

index c9c4dc4..5dc6a40 100755 (executable)
--- a/sync-all
+++ b/sync-all
@@ -378,6 +378,8 @@ sub scmall {
             scm ($localpath, $scm, @scm_args, @args);
         }
         elsif ($command =~ /^checkout$/) {
+            # Not all repos are necessarily branched, so ignore failure
+            $ignore_failure = 1;
             scm ($localpath, $scm, "checkout", @args)
                 unless $scm eq "darcs";
         }