Skip to content

Commit

Permalink
Add checkout support to sync-all
Browse files Browse the repository at this point in the history
  • Loading branch information
igfoo committed Apr 27, 2011
1 parent 5e060e6 commit 72bebc4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sync-all
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -423,6 +427,7 @@ Supported commands:
* remote add <branch-name>
* remote rm <branch-name>
* remote set-url [--push] <branch-name>
* checkout
* grep
* clean
* reset
Expand Down

0 comments on commit 72bebc4

Please sign in to comment.