Comment 25 for bug 288751

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 288751] Re: bzr push to stacked branch returns error Revision <x> not in <y>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John O'Brien wrote:
> 1) I got the following error:
> Using saved push location: bzr+ssh://<email address hidden>/~jdobrien/ubunet/bibit-paymentform
> bzr: ERROR: Revision {<email address hidden>} not present in "tests.py-20081106144232-79d1x2tr2aaqudzr-1".
>
>
> 2) I applied the patch http://bundlebuggy.aaronbentley.com/project/bzr/request/%3Ce01316480811200433l1ed1082dr4f1e2c729e973cdb%40mail.gmail.com%3E
>
> 3) Then I got the following error:
> john@Monolith:~/canonical/ubunet/bibit-paymentform$ bzrdev push
> Using saved push location: bzr+ssh://<email address hidden>/~jdobrien/ubunet/bibit-paymentform
> bzr: ERROR: bzrlib.errors.BzrCheckError: Internal check failed: Newly created pack file <bzrlib.repofmt.pack_repo.NewPack object at 0x1cc5890> has delta references to items not in its repository:
> {'inventories': [('<email address hidden>',)],
> 'texts': [('__init__.py-20081015122929-xo51sqd7y4v326zy-10',
> '<email address hidden>'),
> ('bibit_offline.py-20081031152342-p4qo610une88jyy2-1',
> '<email address hidden>'),
> ('encrypt.py-20081029044849-0x2vqlwy00vo4z5g-1',
> '<email address hidden>'),
> ('formatter.py-20081015122929-xo51sqd7y4v326zy-3',
> '<email address hidden>')]}
>

So (3) is just the updated warning that you get, which is a bit more
verbose about what is going on.

The reason you are getting it, is because there are already pack files
in the target repository that have deltas spanning the repository
boundary, and this is being caught during "autopack". (It would also be
caught during a manual "bzr pack" of that repo.)

Martin's fix changes the fetch code so that it doesn't generate *new*
pack files that have this problem, but it doesn't fix the ones that
already exist.

If it is important for you to just get things going, then you can delete
the branch, and future pushes should all work fine.

Otherwise, I believe Aaron and Martin were talking about a fix which
would make "bzr pack" automatically fetch the necessary extra texts.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkknFHgACgkQJdeBCYSNAAM/2wCfYIqSdIFI8V2kohm4b6w/uS8T
DMQAoMfJU/93YIK4/RumBXhVf/RjhfnW
=/21y
-----END PGP SIGNATURE-----