[PATCH] Missing revision spec for "bzr version"
John A Meinel
john at arbash-meinel.com
Fri Sep 16 15:49:13 BST 2005
In the latest bzr.dev code, "bzr version" no longer prints out the
revision information.
The problem is that __init__.py was changed and get_bzr_revision() did
not return the right value.
The issue is that it is trying to open the branch at "__path__[0]" but
__path__ points to the bzrlib directory (which is where __init__.py
resides) so we still need the os.dirname to make it work.
Attached is a patch which restores the previous behavior.
This also should have a test case associated with it, but I don't have
the time right now.
John
=:->
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: missing-version-spec.diff
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20050916/9082fe4c/attachment.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050916/9082fe4c/attachment.pgp
More information about the bazaar
mailing list