From 72bebc47dbee2eb5435ea8eed512bc5dfc01b7a6 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 27 Apr 2011 16:15:30 +0100 Subject: [PATCH] Add checkout support to sync-all --- sync-all | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sync-all b/sync-all index 3ccbc86..c9c4dc4 100755 --- a/sync-all +++ b/sync-all @@ -377,6 +377,10 @@ sub scmall { } scm ($localpath, $scm, @scm_args, @args); } + elsif ($command =~ /^checkout$/) { + scm ($localpath, $scm, "checkout", @args) + unless $scm eq "darcs"; + } elsif ($command =~ /^grep$/) { # Hack around 'git grep' failing if there are no matches $ignore_failure = 1; @@ -423,6 +427,7 @@ Supported commands: * remote add * remote rm * remote set-url [--push] + * checkout * grep * clean * reset -- 1.7.10.4