Updated tags support

Gustavo Niemeyer gustavo at niemeyer.net
Fri Dec 23 11:40:20 GMT 2005


Hey John,

> Thanks for keeping this up to date.

You're welcome.

[...]
> So at best, the uncommitted pending-actions stuff would be part of
> WorkingTree, but the actual stored tags should be in the repository.

"in the Branch", I assume. That's exactly what was done.

> Also, you need to create a more complete test case. I was able to
> break it with:

Patches are welcome, as always. ;-)

> $ ./bzr set-tag -r -1 previous
> $ ./bzr set-tag -r before:tag:previous something-earlier
> bzr: ERROR: exceptions.AttributeError: 'BzrBranch' object has no
> attribute 'get_tags'

Fixed.

> And then when I tried to commit, I got:
> $ ./bzr commit -m "Adding some tags"
> bzr: ERROR: Revision
> {gustavo at niemeyer.net-20051223003244-a442517770a310da} not present in
> Weave('tags')

I can't reproduce that problem.  Can you create a test case (script,
whatever) that explores it?


-- 
Gustavo Niemeyer
http://niemeyer.net




More information about the bazaar mailing list