NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

releases/ repository corrupt!?

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers
View previous topic :: View next topic  
Author Message
emi



Joined: 14 Aug 2009
Posts: 245

PostPosted: Wed Dec 21, 2016 10:19 am    Post subject: releases/ repository corrupt!? Reply with quote

Hello,

There might be something with my system, but I cannot get the releses/ repository to verify.


hg verify shows 4 integrity errors:


Quote:
$ 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-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)
192754 files, 313961 changesets, 1122263 total revisions                                                                                  
 
4 warnings encountered!
4 integrity errors encountered!



Before that an incremental clone gave me another error:


Quote:
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:


Quote:
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
Back to top
Petr.Gebauer@Oracle.COM
Posted via mailing list.





PostPosted: Wed Dec 21, 2016 10:41 am    Post subject: releases/ repository corrupt!? Reply with quote

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-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)
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 <address-removed ([email]address-removed[/email])> wrote:
Quote:
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
Quote:
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)
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/
Quote:
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
Quote:
checking changesets
checking manifests

crosschecking files in changesets and manifests

checking files
192413 files, 302032 changesets, 1086103 total revisions


--emi
Back to top
emi



Joined: 14 Aug 2009
Posts: 245

PostPosted: Wed Dec 21, 2016 11:03 am    Post subject: releases/ repository corrupt!? Reply with quote

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, address-removed <address-removed ([email]address-removed[/email])> wrote:
Quote:
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-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)
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 <address-removed ([email]address-removed[/email])> wrote:

Quote:
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
Quote:
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)
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/
Quote:
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
Quote:
checking changesets
checking manifests

crosschecking files in changesets and manifests

checking files
192413 files, 302032 changesets, 1086103 total revisions


--emi



Back to top
emi



Joined: 14 Aug 2009
Posts: 245

PostPosted: Wed Dec 21, 2016 11:04 am    Post subject: releases/ repository corrupt!? Reply with quote

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 <address-removed ([email]address-removed[/email])> wrote:
Quote:
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, address-removed <address-removed ([email]address-removed[/email])> wrote:
Quote:
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-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)
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 <address-removed ([email]address-removed[/email])> wrote:

Quote:
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
Quote:
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)
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/
Quote:
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
Quote:
checking changesets
checking manifests

crosschecking files in changesets and manifests

checking files
192413 files, 302032 changesets, 1086103 total revisions


--emi








Back to top
emi



Joined: 14 Aug 2009
Posts: 245

PostPosted: Wed Dec 21, 2016 12:29 pm    Post subject: releases/ repository corrupt!? Reply with quote

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 <address-removed ([email]address-removed[/email])> wrote:
Quote:
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 <address-removed ([email]address-removed[/email])> wrote:
Quote:
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, address-removed <address-removed ([email]address-removed[/email])> wrote:
Quote:
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-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)
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 <address-removed ([email]address-removed[/email])> wrote:

Quote:
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
Quote:
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)
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/
Quote:
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
Quote:
checking changesets
checking manifests

crosschecking files in changesets and manifests

checking files
192413 files, 302032 changesets, 1086103 total revisions


--emi













Back to top
emi



Joined: 14 Aug 2009
Posts: 245

PostPosted: Sat Dec 31, 2016 6:05 am    Post subject: releases/ repository corrupt!? Reply with quote

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:

Quote:
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:


Quote:
changeset:   149755:2cd542ac6129
user:        Vita Stejskal <address-removed ([email]address-removed[/email])>
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 <address-removed ([email]address-removed[/email])> wrote:
Quote:
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 <address-removed ([email]address-removed[/email])> wrote:
Quote:
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 <address-removed ([email]address-removed[/email])> wrote:
Quote:
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, address-removed <address-removed ([email]address-removed[/email])> wrote:
Quote:
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-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)
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 <address-removed ([email]address-removed[/email])> wrote:

Quote:
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
Quote:
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)
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/
Quote:
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
Quote:
checking changesets
checking manifests

crosschecking files in changesets and manifests

checking files
192413 files, 302032 changesets, 1086103 total revisions


--emi


















Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo