Well, this is odd.

I did previously manage to clone a valid main-silver and produce a valid
release by pulling the extra branches.

But now with a fresh clone it seems that even main-silver has errors:

checking changesets
> checking manifests
>
> crosschecking files in changesets and manifests
>
> checking files
>  applemenu/src/org/netbeans/modules/applemenu/layer.xml@?: rev 12 points
> to unexpected changeset 149753
>  (expected 149755)
>
>  defaults/src/org/netbeans/modules/defaults/Eclipse-keybindings-mac.xml@?:
> rev 0 points to unexpected changeset 149753
>  (expected 149755)
>
>  defaults/src/org/netbeans/modules/defaults/Eclipse-keybindings.xml@?:
> rev 25 points to unexpected changeset 149753
>
>  (expected 149755)
>
>  defaults/src/org/netbeans/modules/defaults/mf-layer.xml@?: rev 74 points
> to unexpected changeset 149753
>  (expected 149755)
>
> 192446 files, 302061 changesets, 1086195 total revisions
>
> 4 warnings encountered!
> 4 integrity errors encountered!


My assumption is that perhaps there are multiple servers behind
hg.netbeans.org and at least one of them has an uncorrupted repository
while the other are serving broken repos.

A single bit seems to have flipped (149755 to 149753) for changeset:

changeset:   149755:2cd542ac6129
> user:        Vita Stejskal <[email protected]>
> date:        Tue Oct 13 16:42:52 2009 +0200
> summary:     #157325: fixing keybindings for rename (both in-place and
> full scale refactoring) actions




--emi

On Wed, Dec 21, 2016 at 2:28 PM, Emilian Bold <[email protected]>
wrote:

> Hm, so if I clone main-silver then pull from releases I get a valid
> repository that has no `hg in` or `hg out` changesets. In theory it's a
> perfect clone, except it's actually better since it has no integrity errors.
>
> This means somebody with the knowhow could compare the two repositories
> and see exactly how releases/ got corrupted on disk and fix it. The problem
> seems to be in the default branch (or some branch that main-silver also
> has).
>
>
>
> --emi
>
> On Wed, Dec 21, 2016 at 1:02 PM, Emilian Bold <[email protected]>
> wrote:
>
>> PS: What I'm trying to do is convert releases/ to git and publish it here
>> https://github.com/emilianbold/releases . While having that error might
>> work for Mercurial I don't believe it's safe to migrate it to git too.
>>
>>
>> --emi
>>
>> On Wed, Dec 21, 2016 at 1:01 PM, Emilian Bold <[email protected]>
>> wrote:
>>
>>> But that's not normal... The repository should be fixed.
>>>
>>> Actually I remember a year ago I also noticed my release/ was broken but
>>> somehow a new clone passed all the checks. I'll dig up for that clone and
>>> see if I can work with that.
>>>
>>>
>>> --emi
>>>
>>> On Wed, Dec 21, 2016 at 12:40 PM, [email protected] <
>>> [email protected]> wrote:
>>>
>>>> Hi Emilian,
>>>>
>>>> those are know issues in very very old changeset. Here is output from
>>>> my clone of releases
>>>>
>>>>
>>>> hg verify
>>>> checking changesets
>>>> checking manifests
>>>>  manifest@?: rev 149491 points to unexpected changeset 149752
>>>>  (expected 149754)
>>>>  manifest@?: rev 149492 points to unexpected changeset 149753
>>>>  (expected 149755)
>>>>  manifest@?: rev 149493 points to unexpected changeset 149754
>>>>  (expected 149756)
>>>>  manifest@?: rev 149494 points to unexpected changeset 149756
>>>>  (expected 149757)
>>>>  manifest@?: rev 149495 points to unexpected changeset 149173
>>>>  (expected 149758)
>>>> crosschecking files in changesets and manifests
>>>> checking files
>>>>  applemenu/src/org/netbeans/modules/applemenu/layer.xml@?: rev 12
>>>> points to unexpected changeset 149753
>>>>  (expected 149755)
>>>>  defaults/src/org/netbeans/modules/defaults/Eclipse-keybindi
>>>> ngs-mac.xml@?: rev 0 points to unexpected changeset 149753
>>>>  (expected 149755)
>>>>  defaults/src/org/netbeans/modules/defaults/Eclipse-keybindings.xml@?:
>>>> rev 25 points to unexpected changeset 149753
>>>>  (expected 149755)
>>>>  defaults/src/org/netbeans/modules/defaults/mf-layer.xml@?: rev 74
>>>> points to unexpected changeset 149753
>>>>  (expected 149755)
>>>> 192439 files, 312581 changesets, 1118898 total revisions
>>>> 9 warnings encountered!
>>>> 9 integrity errors encountered!
>>>>
>>>> They should not affect normal work wit the repo.
>>>>
>>>> Regards,
>>>> PetrG
>>>>
>>>>
>>>> On Dec 21, 2016, at 11:18 AM, Emilian Bold <[email protected]>
>>>> wrote:
>>>>
>>>> > Hello,
>>>> >
>>>> > There might be something with my system, but I cannot get the releses/
>>>> > repository to verify.
>>>> >
>>>> > hg verify shows 4 integrity errors:
>>>> >
>>>> > $ hg verify
>>>> >> checking changesets
>>>> >> checking manifests
>>>> >>
>>>> >>
>>>> >> crosschecking files in changesets and manifests
>>>> >>
>>>> >>
>>>> >> checking files
>>>> >> applemenu/src/org/netbeans/modules/applemenu/layer.xml@?: rev 12
>>>> points
>>>> >> to unexpected changeset 149753
>>>> >> (expected 149755)
>>>> >> defaults/src/org/netbeans/modules/defaults/Eclipse-keybindin
>>>> gs-mac.xml@?:
>>>> >> rev 0 points to unexpected changeset 149753
>>>> >> (expected 149755)
>>>> >> defaults/src/org/netbeans/modules/defaults/Eclipse-keybindings.xml@
>>>> ?:
>>>> >> rev 25 points to unexpected changeset 149753
>>>> >> (expected 149755)
>>>> >> defaults/src/org/netbeans/modules/defaults/mf-layer.xml@?: rev 74
>>>> points
>>>> >> to unexpected changeset 149753
>>>> >> (expected 149755)
>>>> >> 192754 files, 313961 changesets, 1122263 total revisions
>>>> >>
>>>> >>
>>>> >> 4 warnings encountered!
>>>> >> 4 integrity errors encountered!
>>>> >
>>>> >
>>>> > Before that an incremental clone gave me another error:
>>>> >
>>>> > pulling from http://hg.netbeans.org/releases/
>>>> >> searching for changes
>>>> >> adding changesets
>>>> >> adding manifests
>>>> >> transaction abort!
>>>> >>
>>>> >> rollback completed
>>>> >> abort: 00manifest.i@47098e67a01d: unknown parent!
>>>> >
>>>> >
>>>> > also around revision 150000.
>>>> >
>>>> > So, could somebody confirm that their own releases/ repository passes
>>>> `hg
>>>> > validate` ?
>>>> >
>>>> > By compasion main-silver is OK:
>>>> >
>>>> > main-silver apache$ hg verify
>>>> >> checking changesets
>>>> >> checking manifests
>>>> >>
>>>> >> crosschecking files in changesets and manifests
>>>> >>
>>>> >> checking files
>>>> >> 192413 files, 302032 changesets, 1086103 total revisions
>>>> >
>>>> >
>>>> > --emi
>>>>
>>>>
>>>
>>
>

Reply via email to