Fixed missing directory error when merging comments onto a bare bug.
authorW. Trevor King <wking@drexel.edu>
Thu, 4 Dec 2008 17:07:49 +0000 (12:07 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 4 Dec 2008 17:07:49 +0000 (12:07 -0500)
commitebeca26c2c8fdf2dab77c57e1e1ab9b2a0a704dc
tree1954a5943381bc8ce31859dea8bbb3cdee1331ff
parent2447b5df014630d402f1fe28db6898a981f5ada0
Fixed missing directory error when merging comments onto a bare bug.

If bug_A had no comments (and so, no comment directory), changing
comment settings before saving raised missing directory errors.
save_settings had previously assumed the
 .be/bugs/XYZ/comments/
directory existed, which wasn't true for comment-less bugs.  Now it
checks, and creates the directory if necessary.
12 files changed:
.be/bugs/4a4609c8-1882-47de-9d30-fee410b8a802/comments/0ac3c4cb-90e3-4b67-b6cb-1186d5d66240/body [new file with mode: 0644]
.be/bugs/4a4609c8-1882-47de-9d30-fee410b8a802/comments/0ac3c4cb-90e3-4b67-b6cb-1186d5d66240/values [new file with mode: 0644]
.be/bugs/4a4609c8-1882-47de-9d30-fee410b8a802/values
.be/bugs/ae998b27-a11b-4243-abf6-11841e5b8242/comments/2628eeca-96c6-4933-8484-d55bb1dbf985/body [new file with mode: 0644]
.be/bugs/ae998b27-a11b-4243-abf6-11841e5b8242/comments/2628eeca-96c6-4933-8484-d55bb1dbf985/values [new file with mode: 0644]
.be/bugs/ae998b27-a11b-4243-abf6-11841e5b8242/comments/942cd941-583d-4020-99e4-80de7e836129/body [new file with mode: 0644]
.be/bugs/ae998b27-a11b-4243-abf6-11841e5b8242/comments/942cd941-583d-4020-99e4-80de7e836129/values [new file with mode: 0644]
.be/bugs/ae998b27-a11b-4243-abf6-11841e5b8242/comments/ae0f9aea-960c-42b4-82df-943bbbe17d58/body [new file with mode: 0644]
.be/bugs/ae998b27-a11b-4243-abf6-11841e5b8242/comments/ae0f9aea-960c-42b4-82df-943bbbe17d58/values [new file with mode: 0644]
.be/bugs/ae998b27-a11b-4243-abf6-11841e5b8242/values
.be/settings
libbe/comment.py