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&#39;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> &lt;<a href="mailto:mbp@sourcefrog.net">
mbp@sourcefrog.net</a>&gt; 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 &lt;<a href="mailto:amanic@gmail.com">
amanic@gmail.com</a>&gt; wrote:<br>&gt; Hi all,<br>&gt;<br>&gt; While testing the &#39;bzr rm should delete the working file&#39; patch<br>&gt; Martin caught the case where we want to delete an empty directory,<br>&gt; which failed because 
workingtree.walkdirs did not like it if we specify<br>&gt; a prefix which represents an empty directory. I changed that patch<br>&gt; to check if the directory is empty before calling walkdirs.<br>&gt;<br>&gt; I do consider this a bug in walkdirs, so here is a proper fix
<br>&gt; complete with tests. This is aimed at v0.17+ since there<br>&gt; isn&#39;t many users of walkdirs, but could be useful for<br>&gt; 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&#39;s marked as unmerged, but it does look like deleting an empty<br>directory does now work.&nbsp;&nbsp;Maybe I&#39;m missing some subtlety of the error<br>this handles.&nbsp;&nbsp;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&#39;t trust Version Control Systems with less than 6350 unit tests.