Fresh clone of tracemonkey repo has an integrity error


Status Graveyard
Server Operations
8 years ago
3 years ago


(Reporter: jorendorff, Assigned: aravind)


Bug Flags:
needs-downtime +


(Whiteboard: 09/15/2009 @ 7pm)



8 years ago
Gary noticed this. It seems pretty serious, although things are working for the time being.

~/dev$ hg clone zomg-tracemonkeys
  requesting all changes
  adding changesets
  adding manifests
  adding file changes
  added 30801 changesets with 149253 changes to 48289 files
~/dev$ cd zomg-tracemonkeys/
~/dev/zomg-tracemonkeys (+no patches applied)$ hg verify
  checking changesets
  checking manifests
  crosschecking files in changesets and manifests
  checking files
    modules/plugin/sdk/samples/testevents/README.txt@18759: c9e849ac4765 not in manifests
  48289 files, 30801 changesets, 149253 total revisions
  1 integrity errors encountered!
  (first damaged changeset appears to be 18759)

Comment 1

8 years ago
Thanks for the report.  Copying djc, the mercurial guru for his input.


8 years ago
Assignee: server-ops → aravind
Looks like this is pretty harmless. modules/plugin/sdk/samples/testevents/README.txt was deleted in f1f91428a758, but it seems to have revision data for that revision anyway, which is throwing it off (that is, there's a revision in the filelog with linkrev 18759 <=> f1f91428a758, but modules/plugin/sdk/samples/testevents/README.txt is not in the manifest for f1f914).

There are no manifests references from the changelog that refer to the second revision for modules/plugin/sdk/samples/testevents/README.txt, so that revision should probably be stripped from the filelog. I'll come up with a repaired filelog.

Comment 3

8 years ago
Thanks very much, Dirkjan.

Comment 4

8 years ago
Any other IT action you need here?
Yes; sorry, I've been working on other things.
Okay, here's how to fix this.

- Download my fixed version of the filelog from

- Make sure no revisions since 74d13b011682 (the latest one I have) have added a file at modules/plugin/sdk/samples/testevents/README.txt (use hg log <path> to verify that f1f91428a758 is the last revision).

- Make sure no one can access the repo.

- Replace the file at .hg/store/data/modules/plugin/sdk/samples/testevents/_r_e_a_d_m_e.txt.i by the file you downloaded from my site.

- Run hg verify to make sure everything is alright (a local -U clone wouldn't take too much time and makes for a nice backup strategy).

- If the verify checks out, you're all done, re-enable repo access now.


8 years ago
Flags: needs-downtime+
Whiteboard: 09/15/2009 @ 7pm

Comment 7

8 years ago
Thanks djc for the fix.  Repo should be clean now.
Last Resolved: 8 years ago
Resolution: --- → FIXED
Product: → Graveyard
You need to log in before you can comment on or make changes to this bug.