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)
commitfee305edfb4d6b63ba76d21ab605108b4d80284b
treeb071e353943a521564089bf5270d61449c0fe588
parenta634a40c3e99e21cfd002cea87bcf28cb2912f3d
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 [deleted file]