patch applied (cabal-install): Make the 'upgrade' command take optional deps

Duncan Coutts duncan.coutts at
Mon Jun 2 20:47:19 EDT 2008

Mon Jun  2 17:23:37 PDT 2008  Duncan Coutts <duncan at>
  * 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:

More information about the cabal-devel mailing list