Rewrite commands to use bugdirs instead of a single bugdir.
authorW. Trevor King <wking@tremily.us>
Thu, 30 Aug 2012 03:26:17 +0000 (23:26 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 30 Aug 2012 03:31:03 +0000 (23:31 -0400)
commit4db1a045a0606bead191a563abc54dfa8352efe0
tree51c891d731555340ffd4432cd889fb67795ae1b6
parent5a32d82284e54facf2f5dcb03ba37afe3805a609
Rewrite commands to use bugdirs instead of a single bugdir.

The bulk of the work is in regard to XML, with new BugDir.xml and
.from_xml methods to support the new <bugdir> entity.  I also split
the guts import_xml's ._run method into sub-methods to make the import
logic more obvious.
25 files changed:
libbe/bug.py
libbe/bugdir.py
libbe/command/assign.py
libbe/command/base.py
libbe/command/comment.py
libbe/command/depend.py
libbe/command/diff.py
libbe/command/due.py
libbe/command/html.py
libbe/command/import_xml.py
libbe/command/init.py
libbe/command/list.py
libbe/command/merge.py
libbe/command/new.py
libbe/command/remove.py
libbe/command/set.py
libbe/command/severity.py
libbe/command/show.py
libbe/command/status.py
libbe/command/subscribe.py
libbe/command/tag.py
libbe/command/target.py
libbe/command/util.py
libbe/comment.py
libbe/util/id.py