Svn 错误“上一个操作尚未完成" [英] Svn error "Previous operation has not finished"

查看:54
本文介绍了Svn 错误“上一个操作尚未完成"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天早上我向 svn 存储库提交了几个项目.在提交操作期间,我的操作系统崩溃了,现在所有 svn 命令(包括清理)都以相同的错误告终.

This morning i was committing several items to a svn repository. During the commit operation my operating system crashed and now all svn commands (Including clean up) ends up with the same error.

Previous operation has not finished; run 'cleanup' if it was interrupted
Please execute the 'Cleanup' command."

我没有遇到其他错误,例如 Subversion 因 " 卡住;上一个操作还没有完成"?由于存储库非常大,我不想像这里建议的那样再次检查所有内容:问题之前的操作没有完成

I dont get other errors like Subversion stuck due to "previous operation has not finished"? and as the repository is very i big i dont want to checkout everything again like suggested here: Issues with previous operation not finishing

推荐答案

实际上刚刚通过查看 这里

svn 似乎卡在了旧的操作中.所有这些操作都存储在 .svn 文件夹中的数据库 wc.db 中.

It seems that svn was stuck in the old operation. All of these operations are stored in the database wc.db in the .svn folder.

通过将 SQLite 下载到我的结帐目录并运行

By downloading SQLite to my checkout directory and running

sqlite3.exe .svn/wc.db "select * from work_queue"

来自 cmd

我得到了所有待处理操作的列表.这些操作是未完成"的操作然后通过运行

i got a list of all pending operations. These operations are the ones "not finished" then by running

sqlite3.exe .svn/wc.db "delete from work_queue"

所有这些挂起的操作都被删除了,我可以再次提交.无需重新结帐或任何事情

all of these pending operations are deleted and i can commit again. No need for a re checkout or anything

这篇关于Svn 错误“上一个操作尚未完成"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆