Comment 1 for bug 1008223

Revision history for this message
Martin Packman (gz) wrote : Re: Error when pushing through smart server

It seems like you have a broken pack-names file in the repository in question, can you find it (inside .bzr/repository on the server) and attach it to the bug please?

If you want to see exactly where that dodgy value is, try running the following script:

    import pprint
    from bzrlib import (
        btree_index,
        transport,
    )

    url = "file:///path/to/repo/.bzr/repository"
    t = transport.get_transport(url)
    idx = btree_index.BTreeGraphIndex(t, "pack-names", None)
    pprint.pprint(list(idx.iter_all_entries()))