Upgrading from 1.9-rr to dev6-rr failed with bzr.dev

Talden talden at gmail.com
Mon Apr 20 03:01:09 BST 2009


Though I can't do any performance tests until windows build of 1.14
arrives I thought I'd try converting a small branch from 1.9-rich-root
to development6-rich-root... However I get an error...

This is the verbose info from the branch (recently packed and with a
clean 'bzr check'):

-------------------------------------------------------------------------------------------------
    Standalone tree (format: 1.9-rich-root)
    Location:
      branch root: .

    Related branches:
      parent branch: svn://svnmirror/dev/bogus/trunk

    Format:
           control: Meta directory format 1
      working tree: Working tree format 4
            branch: Branch format 7
        repository: Packs 6 rich-root (uses btree indexes, requires bzr 1.9)

    In the working tree:
          1697 unchanged
             0 modified
             0 added
             0 removed
             0 renamed
             0 unknown
             0 ignored
            29 versioned subdirectories

    Branch history:
           326 revisions
           216 days old
       first revision: Mon 2008-09-15 22:42:20 +0000
      latest revision: Fri 2009-03-27 19:07:15 +0000

    Repository:
           326 revisions
-------------------------------------------------------------------------------------------------

And here's the error I get from the upgrade...

-------------------------------------------------------------------------------------------------
    C:\> bzrdev.bat upgrade --development6-rich-root
    starting upgrade of file:///C:/bzr/test/
    making backup of file:///C:/bzr/test/.bzr
      to file:///C:/bzr/test/backup.bzr
    starting repository conversion
    bzr: ERROR: exceptions.TypeError: 'NoneType' object is unsubscriptable

    Traceback (most recent call last):
      File "c:\tools\bzr.dev\bzrlib\commands.py", line 727, in
exception_to_return_code
        return the_callable(*args, **kwargs)
      File "c:\tools\bzr.dev\bzrlib\commands.py", line 922, in run_bzr
        ret = run(*run_argv)
      File "c:\tools\bzr.dev\bzrlib\commands.py", line 559, in run_argv_aliases
        return self.run(**all_cmd_args)
      File "c:\tools\bzr.dev\bzrlib\builtins.py", line 2980, in run
        upgrade(url, format)
      File "c:\tools\bzr.dev\bzrlib\upgrade.py", line 85, in upgrade
        Convert(url, format)
      File "c:\tools\bzr.dev\bzrlib\upgrade.py", line 40, in __init__
        self.convert()
      File "c:\tools\bzr.dev\bzrlib\upgrade.py", line 79, in convert
        self.bzrdir = converter.convert(self.bzrdir, self.pb)
      File "c:\tools\bzr.dev\bzrlib\bzrdir.py", line 2776, in convert
        converter.convert(repo, pb)
      File "c:\tools\bzr.dev\bzrlib\repository.py", line 3799, in convert
        self.source_repo.copy_content_into(converted)
      File "c:\tools\bzr.dev\bzrlib\repository.py", line 1400, in
copy_content_into
        return InterRepository.get(self, destination).copy_content(revision_id)
      File "c:\tools\bzr.dev\bzrlib\decorators.py", line 192, in write_locked
        result = unbound(self, *args, **kwargs)
      File "c:\tools\bzr.dev\bzrlib\repository.py", line 3037, in copy_content
        self.target.fetch(self.source, revision_id=revision_id)
      File "c:\tools\bzr.dev\bzrlib\repository.py", line 1493, in fetch
        find_ghosts=find_ghosts, fetch_spec=fetch_spec)
      File "c:\tools\bzr.dev\bzrlib\decorators.py", line 192, in write_locked
        result = unbound(self, *args, **kwargs)
      File "c:\tools\bzr.dev\bzrlib\repository.py", line 3724, in fetch
        self._fetch_all_revisions(revision_ids, pb)
      File "c:\tools\bzr.dev\bzrlib\repository.py", line 3682, in
_fetch_all_revisions
        basis_id = self._fetch_batch(batch, basis_id, cache)
      File "c:\tools\bzr.dev\bzrlib\repository.py", line 3628, in _fetch_batch
        not self.target._format._fetch_uses_deltas))
      File "c:\tools\bzr.dev\bzrlib\groupcompress.py", line 1288, in
insert_record_stream
        for _ in self._insert_record_stream(stream, random_id=False):
      File "c:\tools\bzr.dev\bzrlib\groupcompress.py", line 1412, in
_insert_record_stream
        self._compressor.pop_last()
      File "c:\tools\bzr.dev\bzrlib\groupcompress.py", line 702, in pop_last
        del self.chunks[self._last[0]:]
    TypeError: 'NoneType' object is unsubscriptable

    bzr 1.15dev on python 2.5.2 (win32)
    arguments: ['c:\\tools\\bzr.dev\\bzr', 'upgrade',
'--development6-rich-root']
    encoding: 'cp1252', fsenc: 'mbcs', lang: None
    plugins:
      launchpad            c:\tools\bzr.dev\bzrlib\plugins\launchpad [unknown]
      netrc_credential_store
c:\tools\bzr.dev\bzrlib\plugins\netrc_credential_store [unknown]
    *** Bazaar has encountered an internal error.
        Please report a bug at https://bugs.launchpad.net/bzr/+filebug
        including this traceback, and a description of what you
        were doing when the error occurred.
-------------------------------------------------------------------------------------------------

Any idea what the problem might be?

I'm using r4299 of bzr.dev on Windows XP with Python 2.5.2

--
Talden



More information about the bazaar mailing list