projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5e060e6
)
Add checkout support to sync-all
author
Ian Lynagh
<igloo@earth.li>
Wed, 27 Apr 2011 15:15:30 +0000
(16:15 +0100)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 27 Apr 2011 15:22:37 +0000
(16:22 +0100)
sync-all
patch
|
blob
|
history
diff --git
a/sync-all
b/sync-all
index
3ccbc86
..
c9c4dc4
100755
(executable)
--- a/
sync-all
+++ b/
sync-all
@@
-377,6
+377,10
@@
sub scmall {
}
scm ($localpath, $scm, @scm_args, @args);
}
}
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;
elsif ($command =~ /^grep$/) {
# Hack around 'git grep' failing if there are no matches
$ignore_failure = 1;
@@
-423,6
+427,7
@@
Supported commands:
* remote add <branch-name>
* remote rm <branch-name>
* remote set-url [--push] <branch-name>
* remote add <branch-name>
* remote rm <branch-name>
* remote set-url [--push] <branch-name>
+ * checkout
* grep
* clean
* reset
* grep
* clean
* reset