Use like this:
./sync-all -r me@darcs.haskell.org:/home/darcs set-push
to set the default repo to push to (in remotes/origin) for each of
the sub-repos.
elsif ($command =~ /^set-origin$/) {
@scm_args = ("remote", "set-url", "origin", $path);
}
elsif ($command =~ /^set-origin$/) {
@scm_args = ("remote", "set-url", "origin", $path);
}
+ elsif ($command =~ /^set-push$/) {
+ @scm_args = ("remote", "set-url", "--push", "origin", $path);
+ print "foo\n", @scm_args;
+ }
elsif ($command =~ /^fetch$/) {
@scm_args = ("fetch", "origin");
}
elsif ($command =~ /^fetch$/) {
@scm_args = ("fetch", "origin");
}
* fetch
* send
* set-origin
* fetch
* send
* set-origin
* new
Available package-tags are:
* new
Available package-tags are: