Add -r option to darcs-all, and remove push-all (#3375)
authorSimon Marlow <marlowsd@gmail.com>
Mon, 3 Aug 2009 10:44:13 +0000 (10:44 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 3 Aug 2009 10:44:13 +0000 (10:44 +0000)
commite0f750296ef29dc073f80d4e60e48c1db4a15a35
tree18679e8f9be88bf74927ef8463764a3cba22fbf7
parent74df25b15c34c4554660b76d1ae09b721d0aa59b
Add -r option to darcs-all, and remove push-all (#3375)
Contributed by: seliopou@gmail.com

This patch modifies darcs-all to have feature parity with push-all by
recognizing two new options.

    * -i, equivalent to --ignore-failure in push-all
    * -r <repo>, specifies the remote repository darcs commands will use

Some example commands:

Get the libraries from a repository of your choosing. This is useful
when working with a git mirror:

    $ ./darcs-all -r http://darcs.haskell.org get

Pull changes. Used to be:

    $ ./push-all --pull http://darcs.haskell.org

Is now:

    $ ./darcs-all -r http://darcs.haskell.org pull

Or to use the default remote of the ghc repository:

    $ ./darcs-all pull
darcs-all
push-all [new file with mode: 0644]