bzr tag -rrevid: fails

Marien Zwart marienz at
Wed Mar 7 23:20:36 GMT 2007

When testing the release candidate I hit the following:

running "bzr tag
-rrevid:marienz at 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',
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
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/", line 650,
      in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 612,
      in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 304,
      in run_argv_aliases
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 3347,
      in run
    branch.tags.set_tag(tag_name, revision_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 87, in set_tag
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 137,
      in _set_tag_dict
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 144,
      in _serialize_tag_dict
    return bencode.bencode(td)
  File "/usr/lib/python2.5/site-packages/bzrlib/util/", line 297,
      in bencode
    def bencode(x):
  File "/usr/lib/python2.5/site-packages/bzrlib/util/", line 299,
      in bencode
    encode_func[type(x)](x, r)
  File "/usr/lib/python2.5/site-packages/bzrlib/util/", 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 

More information about the bazaar mailing list