couldn't delete .hg, directory not empty
Created originally on Bitbucket by mikelu (Mike Lu)
i've noticed that after i have installed 1.0, every time i try to delete an hg working directory, it always ends up showing this error. However, after closing the error message, the folder could still be deleted. After a little investigation into the folder that is failed to delete, i find that the working copy has been deleted, but the .hg folder is still having thgstatus in it. I think maybe this is the reason why the directory couldn't be deleted.
btw, this error happens only when i shift-delete the folder; "just-delete" works well