patch applied (cabal-install): Make the 'upgrade' command take
optional deps
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Mon Jun 2 20:47:19 EDT 2008
Mon Jun 2 17:23:37 PDT 2008 Duncan Coutts <duncan at haskell.org>
* Make the 'upgrade' command take optional deps
Up to now 'upgrade' took no args and tried to upgrade all installed
packages to the latest versions. It retains that mode but also has
a new mode rather like 'cabal install'. The difference is that with
$ cabal install foo
it means install latest version of foo but otherwise prefer the
installed versions of deps of foo, while
$ cabal upgrade foo
means install the latest version of foo and also the latest
versions of all the dependencies of foo.
M ./Hackage/Install.hs -23 +22
M ./Main.hs -2 +3
View patch online:
http://darcs.haskell.org/cabal-install/_darcs/patches/20080603002337-adfee-0d0166ea79831596eee320add6090e972e50f4a1.gz
More information about the cabal-devel
mailing list