Issue #7335 invalid

Imported Mercurial Repos with Subrepos

vote539
created an issue

Yesterday, I made myself a fork of GNU Octave via https://bitbucket.org/repo/import. The official GNU Octave repository is located at http://www.octave.org/hg/octave.

The import proceeded just fine. However, when I attempt to clone the repository from BitBucket onto my personal machine, this is what happens:

$ hg clone ssh://hg@bitbucket.org/vote539/octave octave
requesting all changes
adding changesets
adding manifests
adding file changes
added 16634 changesets with 103919 changes to 11925 files (+1 heads)
updating to branch default
remote: conq: repository does not exist.    abort: no suitable response from remote hg!

$ hg clone https://vote539@bitbucket.org/vote539/octave octave
requesting all changes
adding changesets
adding manifests
adding file changes
added 16634 changesets with 103919 changes to 11925 files (+1 heads)
updating to branch default
cloning subrepo gnulib-hg from https://vote539@bitbucket.org/vote539/octave/gnulib-hg
requesting all changes
adding changesets
adding manifests
adding file changes
added 16634 changesets with 103919 changes to 11925 files (+1 heads)
abort: unknown revision '5a51fb7777a9950502965a043a70bd6ca5e0498b'!

Since the last command only breaks down when it tries to clone the subrepo "gnulib-hg", I suspect that this may be the cause of the issue, but I am unsure.

My fork of the repo is at: https://bitbucket.org/vote539/octave

I prioritized the issue as "Blocker" because it is indeed blocking my development work.

Thanks for looking into this!

Comments (6)

  1. Michael Frauenholtz staff

    Hi vote539,

    Thanks for reporting this. I was able to reproduce this by importing the original source repository to my account. We are looking into this now and will let you know we have more to share.

    Cheers,
    Michael

  2. Marcus Bertrand staff

    I've gone to http://hg.savannah.gnu.org/hgweb/octave and cloned the repo, then run hg verify. The source repo has the same errors. This isn't a Bitbucket import issue. Your source repo is corrupted.

    I've rolled back your fork, but it will be a bit behind. The source was at

        changeset:   16661:8291109ac3fd
        tag:         tip
        user:        John W. Eaton <jwe@octave.org>
        date:        Tue May 14 05:24:19 2013 -0400
        summary:     require that dynamic field names have only one row
    

    While the first non-corrupted change was:

        changeset:   12117:7e203a75d5cc
        tag:         tip
        user:        Jacob Dawid <jacob.dawid@googlemail.com>
        date:        Fri Apr 29 00:20:00 2011 +0200
        summary:     Switching between tabs is now possible.
    
  3. vote539 reporter

    It's been a year since I made this ticket, and I'm still experiencing this same issue. A new import of the Octave repository is at https://bitbucket.org/vote539/octave-may-2014

    Running hg verify no longer shows any errors, indicating to me that the repo is healthy, as shown below.

    $ hg clone http://www.octave.org/hg/octave octave-2014
    real URL is http://hg.savannah.gnu.org/hgweb/octave
    requesting all changes
    adding changesets
    adding manifests                                                                                                                                                                                                                              
    adding file changes                                                                                                                                                                                                                           
    added 18747 changesets with 113689 changes to 12484 files (+2 heads)                                                                                                                                                                          
    updating to bookmark @
    real URL is http://hg.savannah.gnu.org/hgweb/octave/gnulib-hg                                                                                                                                                                                 
    cloning subrepo gnulib-hg from http://www.octave.org/hg/octave/gnulib-hg                                                                                                                                                                      
    requesting all changes                                                                                                                                                                                                                        
    adding changesets                                                                                                                                                                                                                             
    adding manifests                                                                                                                                                                                                                              
    adding file changes                                                                                                                                                                                                                           
    added 17633 changesets with 94300 changes to 11129 files (+13 heads)                                                                                                                                                                          
    3050 files updated, 0 files merged, 0 files removed, 0 files unresolved
    $ cd octave-2014/
    $ hg verify
    checking changesets
    checking manifests
    crosschecking files in changesets and manifests                                                                                                                                                                                               
    checking files
    12338 files, 18747 changesets, 113689 total revisions      
    

    Here is what an attempted clone from BitBucket looks like.

    $ hg clone ssh://hg@bitbucket.org/vote539/octave-may-2014
    destination directory: octave-may-2014
    requesting all changes
    adding changesets
    adding manifests                                                                                                                                                                                                                              
    adding file changes                                                                                                                                                                                                                           
    added 18749 changesets with 113692 changes to 12484 files (+2 heads)                                                                                                                                                                          
    updating to bookmark @
    remote: conq: repository does not exist.                                                                                                                                                                                                      
    abort: no suitable response from remote hg!   
    
  4. Log in to comment