Comment 1 for bug 506777

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 506777] [NEW] InvalidRevisionSpec: Requested revision: u'281' does not exist in branch

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

Tim Penhey wrote:
> Public bug reported:
>
> tim@elwood:~/src/lp/imports-urls$ bzr log -r 281 bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/bzr-hg/broken -Derror
> bzr: ERROR: bzrlib.errors.InvalidRevisionSpec: Requested revision: u'281' does not exist in branch: RemoteBranch(bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/bzr-hg/broken/)
>
...

> InvalidRevisionSpec: Requested revision: u'281' does not exist in branch: RemoteBranch(bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/bzr-hg/broken/)
> HPSS calls: 44 (27 vfs) SmartSSHClientMedium(connected=False, username=u'thumper', host='bazaar.launchpad.net', port=None)
>
> This branch was created by:
>
> bzr branch lp:bzr-hg
> bzr push lp:~...
>
> It stacked on trunk, but has no extra revisions.

This doesn't seem to be a bug in "log", but it does indicate something
wrong with the branch.

This doesn't reproduce locally with:

bzr branch --no-tree --stacked ../other/branch test

(the 'test' branch has an appropriate last revision, and log, etc show
correctly.)

Note that just doing:
 bzr log -r-10..-1 lp:~launchpad-pqm/bzr-hg/broken

But "bzr log" does work, and shows the branch having 281 revisions.

Definitely something weird. Perhaps the fallback isn't properly found at
the time when it is looking up the revspec, but *is* found when it goes
to actually log the revisions?

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

iEYEARECAAYFAktN5z8ACgkQJdeBCYSNAAPS1ACcCYb7LO89SHxNpfolPLJfuwgU
MwYAoLw713htLoNe7kFT2iYcFz2hcLWg
=ZA22
-----END PGP SIGNATURE-----