hg repo corruption: ".hgsubstate is corrupt in revision ..."

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

hg repo corruption: ".hgsubstate is corrupt in revision ..."

apjanke-floss
Hi, Octave maintainers,

I'm having a bit of trouble with the GNU Octave Hg repo. I'm unable to
push copies of it to my private Bitbucket account.

When examining a freshly cloned repo with "hg verify", it reports
corruption in the .hgsubstate file. This is consistent - each time I
re-clone the repo, it still shows up as corrupt.

Have any of you encountered this?

Cheers,
Andrew

[~/tmp/octave-repo-test]
$ hg clone http://hg.savannah.gnu.org/hgweb/octave/
destination directory: octave
requesting all changes
adding changesets
adding manifests
adding file changes
added 25708 changesets with 170525 changes to 13875 files
new changesets 22412e3a4641:39fd627b2c5d
updating to bookmark @
cloning subrepo gnulib from http://hg.octave.org/gnulib
requesting all changes
adding changesets
adding manifests
adding file changes
added 19691 changesets with 127883 changes to 11419 files (+17 heads)
new changesets cb836a3f733e:a9f7397854f5
3210 files updated, 0 files merged, 0 files removed, 0 files unresolved
[~/tmp/octave-repo-test]
$ cd octave
[~/tmp/octave-repo-test/octave]
$ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
13729 files, 25708 changesets, 170525 total revisions
checking subrepo links
.hgsubstate is corrupt in revision ecf0c6bca0c9
.hgsubstate is corrupt in revision e0fb702a62a4
.hgsubstate is corrupt in revision 1398901839b6
.hgsubstate is corrupt in revision 5f0bb45e615c
.hgsubstate is corrupt in revision bb5790c5e713
.hgsubstate is corrupt in revision d584f90d2c47
.hgsubstate is corrupt in revision eb29a53834af
.hgsubstate is corrupt in revision e8ef57b7bd2a
.hgsubstate is corrupt in revision df86157a4912
.hgsubstate is corrupt in revision 12b60f3b1394
.hgsubstate is corrupt in revision 97cb9286919c
.hgsubstate is corrupt in revision c952f1e35e50
.hgsubstate is corrupt in revision 55f88d2236b6
.hgsubstate is corrupt in revision 572a707408b2
.hgsubstate is corrupt in revision 06bd3610f76e
.hgsubstate is corrupt in revision 43aa8d583b02
.hgsubstate is corrupt in revision 8e9f2cfa114d
.hgsubstate is corrupt in revision e8eca6031695
.hgsubstate is corrupt in revision 3fd857c284fe
.hgsubstate is corrupt in revision 56983afe80d5
.hgsubstate is corrupt in revision ef62fc21b2d9
.hgsubstate is corrupt in revision c2afeeb35f4d
.hgsubstate is corrupt in revision de3a318128f2
.hgsubstate is corrupt in revision 7c14e3e6fc6b
.hgsubstate is corrupt in revision b07e0cb83704
.hgsubstate is corrupt in revision 6c5b6c0ab528
.hgsubstate is corrupt in revision a132d206a36a
.hgsubstate is corrupt in revision acb7c0e6c317
.hgsubstate is corrupt in revision 017f0b2e6933
.hgsubstate is corrupt in revision 79baa37fde7a
.hgsubstate is corrupt in revision 181319fb0c8b
.hgsubstate is corrupt in revision e40ae983288f
.hgsubstate is corrupt in revision f7f1a2d4e9c8
15889: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
15890: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
15892: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
15905: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
16032: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
16038: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
16039: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
16081: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
16240: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
16358: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
17277: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
17840: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
19106: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
19818: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
21166: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
21479: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
21544: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
21820: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
21834: repository /Users/janke/tmp/octave-repo-test/octave/gnulib-hg not
found
[~/tmp/octave-repo-test/octave]
$ hg --version
Mercurial Distributed SCM (version 4.6.2)

Reply | Threaded
Open this post in threaded view
|

Re: hg repo corruption: ".hgsubstate is corrupt in revision ..."

Mike Miller-4
On Tue, Jul 31, 2018 at 15:23:11 -0400, Andrew Janke wrote:
> I'm having a bit of trouble with the GNU Octave Hg repo. I'm unable to push
> copies of it to my private Bitbucket account.
>
> When examining a freshly cloned repo with "hg verify", it reports corruption
> in the .hgsubstate file. This is consistent - each time I re-clone the repo,
> it still shows up as corrupt.
>
> Have any of you encountered this?

This looks like it has to do with the gnulib subrepo, which has changed
a few times over the hg history. I see the same errors with 'hg verify'.

You haven't shown the 'hg push' error, but it probably also has to do
with the subrepo. You might try using the subpaths rewrite configuration
to work around this. I used to have the following in my ~/.hgrc, before
we changed gnulib to an absolute URL.

    [subpaths]
    .*/gnulib-hg = http://www.octave.org/hg/octave/gnulib-hg

I would try the following configuration today, to override the
historical URLs of both 'gnulib' and 'gnulib-hg':

    [subpaths]
    .*/gnulib = http://hg.octave.org/gnulib
    .*/gnulib-hg = http://hg.octave.org/gnulib

--
mike

signature.asc (849 bytes) Download Attachment