Added cmp functions to libbe.comment, and fleshed them out in libbe.bug.
authorW. Trevor King <wking@drexel.edu>
Mon, 27 Jul 2009 11:18:13 +0000 (07:18 -0400)
committerW. Trevor King <wking@drexel.edu>
Mon, 27 Jul 2009 11:18:13 +0000 (07:18 -0400)
commit159dc9303e10cef81388fb686f79312cc1018c65
tree4924ec024c891631077f37ef1d8c853f17a53c66
parent3711c5080619b0decf0ae040a9d244bf3b902c41
Added cmp functions to libbe.comment, and fleshed them out in libbe.bug.

Previous comment comparison had just been the default Tree.__cmp__.

Fleshed out so A == B ensures no meaningful differences between A and B.

Also added first line of comments to new comment output in libbe.diff,
and added a comment/"settings" node and .comment_mod_string() (to
mirror bugdir and bug).
libbe/bug.py
libbe/comment.py
libbe/diff.py