This patch is for bug 363837.&nbsp; Both that bug and this patch are limited to the win32 layer.<br><br>The patch results in bazaar giving windows at most two second chances (after delays of 250 ms) to delete a readonly file or directory, such as typically appear during external diff tools.<br><br>Also the generic exception has been replaced with a BzrError to make persistent failures easier to understand.<br><br>Martitza<br><br>