Hi, <br><br>It just fixes a little bug in workingtree.walkdirs which I sidestepped when deleting empty directories.<br>I am still intending to submit a version addressing the comments on the list.<br>But I just want to get some more important bugs fixed first,
<br>so I'm fine with this patch being vetoed for now. <br><br>thanks<br>marius<br><br><br><div><span class="gmail_quote">On 7/12/07, <b class="gmail_sendername">Martin Pool</b> <<a href="mailto:mbp@sourcefrog.net">
mbp@sourcefrog.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 5/2/07, Marius Kruger <<a href="mailto:amanic@gmail.com">
amanic@gmail.com</a>> wrote:<br>> Hi all,<br>><br>> While testing the 'bzr rm should delete the working file' patch<br>> Martin caught the case where we want to delete an empty directory,<br>> which failed because
workingtree.walkdirs did not like it if we specify<br>> a prefix which represents an empty directory. I changed that patch<br>> to check if the directory is empty before calling walkdirs.<br>><br>> I do consider this a bug in walkdirs, so here is a proper fix
<br>> complete with tests. This is aimed at v0.17+ since there<br>> isn't many users of walkdirs, but could be useful for<br>> future users of it.<br><br>Hi Marius,<br><br>I was just checking up on this patch which is still in the review
<br>queue here: <a href="http://bundlebuggy.aaronbentley.com/request/%3C418c22640705012222h5a72f900j4d0d7ae2c655a186@mail.gmail.com%3E">http://bundlebuggy.aaronbentley.com/request/%3C418c22640705012222h5a72f900j4d0d7ae2c655a186@mail.gmail.com%3E
</a><br><br>It's marked as unmerged, but it does look like deleting an empty<br>directory does now work. Maybe I'm missing some subtlety of the error<br>this handles. Do you know if this still wants to be merged?
<br><br><br>--<br>Martin<br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://bazaar-vcs.org">bazaar-vcs.org</a><br>Because I don't trust Version Control Systems with less than 6350 unit tests.