Issue 1625 optimize --upgrade on partial repos

Title optimize --upgrade on partial repos
Priority bug Status given-up
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, ganesh, kowey, marnix
Assigned To
Topics Hashed, Partial

Created on 2009-09-23.20:50:08 by ganesh, last changed 2017-07-30.23:37:53 by gh.

msg8861 (view) Author: ganesh Date: 2009-09-23.20:50:01
The new 'optimize --upgrade' command fails messily on partial repos.

It should either provide a proper error message, or ideally convert them to lazy
ones if this is actually feasible.
msg8862 (view) Author: marnix Date: 2009-09-24.05:48:20
Op 23-09-09 22:50, Ganesh Sittampalam schreef:

> The new 'optimize --upgrade' command fails messily on partial repos.

Clarification request: Does it leave messy error messages on the screen, 
or does it even leave behind a messy repo?
msg8865 (view) Author: kowey Date: 2009-09-24.07:13:31
Here's example output optimizing a partial GHC repo.  It makes it past the
corruption check (how? by just replaying from the checkpoint?) and then falls
over and ideas during the hashing patch stage.

Note that whoever fixes this could likely make use of Hopefully.  Also if
converting to lazy (which actually should not be hard), you'll probably need to
create pristine from the checkpoint plus new patches.

Replaying patch 1/418
Replaying patch 299/418

Checking repository in case of corruption...
The repository is consistent.
darcs: unable to read patch:
Fri Sep  5 11:16:36 CEST 1997  simonm
  * [project @ 1997-09-05 09:16:19 by simonm]
  don't set $(WAYS) in ghc/mk/paths.mk, set it explicitly in the
  Makefiles where it is required (compiler/Makefile, lib/Makefile and
  Remove the overriding of $(WAYS) from utils/*/Makefile.
  No need to eliminate warnings for overlapped patterns in
  Happy-generated parsers any more.
  Don't compile OccurAnal with -O if we're using a pre-version-2 GHC,
  since it seems there's an optimiser bug.
openBinaryFile: does not exist (No such file o
r directory)
Date User Action Args
2009-09-23 20:50:09ganeshcreate
2009-09-24 05:48:22marnix.kloostersetnosy: + marnix.klooster
messages: + msg8862
2009-09-24 07:13:38koweysettopic: + Partial, Hashed
nosy: + kowey
messages: + msg8865
2009-10-24 00:37:10adminsetnosy: + marnix, - marnix.klooster
2017-07-30 23:37:53ghsetstatus: needs-implementation -> given-up