[Bug?] `bzr log -rX.Y.Z filename` fails
Kent Gibson
warthog618 at gmail.com
Thu Oct 4 10:13:28 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alexander Belchenko wrote:
> I look at annotate output and want to see log for some revision.
>
> $ bzr ann test_plugins.py ... 2804.4.1
> bialix at ukr.net 20070906 |
> self.assertEqual(plugin_path, normpath(plugin.path())) ...
>
Hi Alexander,
Firstly, that log works for me with bzr.dev:
- ------------------------------------------------------------
revno: 2804.4.1
committer: Alexander Belchenko <bialix at ukr.net>
branch nick: selftest.win32
timestamp: Thu 2007-09-06 14:59:59 +0300
message:
some win32-specific fixes for selftest
Your error can occur if the revision has been somehow filtered from
your view.
If it doesn't exist in the view you get an error like this:
$ bzr log -r1.2.3
bzr: ERROR: Requested revision: u'1.2.3' does not exist in branch:
BzrBranch5('file:///home/kent/work/bzr/bzr.dev/')
I can replicate your error if I add a formatter that ignores merge
revisions, such as --short:
$ bzr log --short -r2804.4.1
bzr: ERROR: exceptions.ValueError: list.index(x): x not in list
....
That should certainly be handled better than a traceback....
You don't happen to have an alias do you?
Cheers,
Kent.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHBK63goxTFTi1P8QRAtDnAJwOPA+bQDG2IsOus1U+9bXuBfSr+QCfRc1Y
T9kUBPei7KlcBlaVQ60a7XQ=
=YMjS
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list