summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorMax Bolingbroke <batterseapower@hotmail.com>2011-11-19 11:27:38 +0000
committerMax Bolingbroke <batterseapower@hotmail.com>2011-11-19 11:27:38 +0000
commitbe879ba686f96375c6e3d65b97ed0508ddbfc9a1 (patch)
treeeef5a09167a3d5b5e46a4083b600944882600f6f /sync-all
parent80e9070c77718b7ff0e913182e54842754726ce8 (diff)
downloadhaskell-be879ba686f96375c6e3d65b97ed0508ddbfc9a1.tar.gz
Add branch command to sync-all
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all5
1 files changed, 5 insertions, 0 deletions
diff --git a/sync-all b/sync-all
index 11c2210513..c7fcfde68f 100755
--- a/sync-all
+++ b/sync-all
@@ -397,6 +397,10 @@ sub scmall {
scm ($localpath, $scm, "reset", @args)
unless $scm eq "darcs";
}
+ elsif ($command =~ /^branch$/) {
+ scm ($localpath, $scm, "branch", @args)
+ unless $scm eq "darcs";
+ }
elsif ($command =~ /^config$/) {
scm ($localpath, $scm, "config", @args)
unless $scm eq "darcs";
@@ -483,6 +487,7 @@ remote set-url [--push] <remote-name>
These commands just run the equivalent git command on each repository, passing
any extra arguments to git:
+ branch
checkout
clean
commit