bzr tag -rrevid: fails
Marien Zwart
marienz at gentoo.org
Wed Mar 7 23:20:36 GMT 2007
When testing the release candidate I hit the following:
running "bzr tag
-rrevid:marienz at gentoo.org-20070307230802-7glsfkyy5fazrb91 tag" in a
freshly created standalone dirstate-with-subtree branch with 0.15rc1
fails with the following in bzr.log (reformatted for linewrapping):
bzr arguments: [
u'tag', u'-rrevid:marienz at gentoo.org-20070307230802-7glsfkyy5fazrb91',
u'tag']
looking for plugins in /home/marienz/.bazaar/plugins
looking for plugins in /usr/lib/python2.5/site-packages/bzrlib/plugins
Plugin name __init__ already loaded
Plugin name __init__ already loaded
Returning RevisionSpec RevisionSpec_revid for revid:marienz at gentoo.org-20070307230802-7glsfkyy5fazrb91
encoding stdout as sys.stdout encoding 'UTF-8'
got branch format Bazaar Branch Format 6 (bzr 0.15)
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 650,
in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 612,
in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 304,
in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 3347,
in run
branch.tags.set_tag(tag_name, revision_id)
File "/usr/lib/python2.5/site-packages/bzrlib/tag.py", line 87, in set_tag
self._set_tag_dict(td)
File "/usr/lib/python2.5/site-packages/bzrlib/tag.py", line 137,
in _set_tag_dict
self._serialize_tag_dict(new_dict))
File "/usr/lib/python2.5/site-packages/bzrlib/tag.py", line 144,
in _serialize_tag_dict
return bencode.bencode(td)
File "/usr/lib/python2.5/site-packages/bzrlib/util/bencode.py", line 297,
in bencode
def bencode(x):
File "/usr/lib/python2.5/site-packages/bzrlib/util/bencode.py", line 299,
in bencode
encode_func[type(x)](x, r)
File "/usr/lib/python2.5/site-packages/bzrlib/util/bencode.py", line 279,
in encode_dict
encode_func[type(v)](v, r)
KeyError: <type 'unicode'>
return code 3
The revisionid used is just the id for the first (and only) revision
in the branch. Also filed this as launchpad bug 90501.
--
Marien.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070308/d6fb0e03/attachment.pgp
More information about the bazaar
mailing list