Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When the program is not closed after using the update method, wc.db is occupied and cannot be deleted #196

Open
paiguFK opened this issue Aug 26, 2023 · 0 comments

Comments

@paiguFK
Copy link

paiguFK commented Aug 26, 2023

When I want to delete wocking folder after I have used pysvn's update or other svn related methods
It always prompts that wc.db is occupied and cannot be deleted. Is it possible to manually disconnect the link with the wc.db file?
当我使用了pysvn的update或其他svn相关方法后,想要删除带有.svn的工作文件夹时
总是提示wc.db被占用而不能删除,是否可以手动断开与wc.db文件的链接?
global definition:
image
调用
def a()
client.update(wc_path)
def del_wc()
shutil.rmtree(father_path, onerror=remove_readonly)

error:
PermissionError: [WinError 32] 另一个程序正在使用此文件,进程无法访问。: 'father_path\wc_path\.svn\wc.db'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant