This patch moves non-UI code where it should really belong.
Darcs.UI.Commands.Optimize.doHttpOptimize is moved to
Darcs.Repository.Packs.createPacks . I believe darcsden
should be updated accordingly.
With an up-to-date screened, the tests network//clone-http-packed* fail.
I haven't checked that it is this patch that causes the problem, it's
just a guess...
Looks good to me (with the fix). Not mentioned in the description:
improved haddocks for D.R.Packs, renamed doOptimizeHTTP to createPacks.
Both are very much appreciated.