无法验证路径上的锁定
当我想删除一些文件时,它恰好显示以下错误:
提交失败(详细信息如下):
无法验证路径上的锁定
'文件名...';
没有可用的匹配锁定令牌
如果您想打破锁定,请使用“检查修改”对话框。
请帮我解决它。
When I want to delete some files, it happens to show me the error below:
Commit failed (details follow):
Cannot verify lock on path
'the file name...';
no matching lock-token available
If you want to break the lock, use the 'Check For Modifications' dialog.
Please help me to solve it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
至少有一个文件被锁定。正如错误告诉您的那样,使用“检查修改”对话框,单击“检查存储库”按钮,然后找到带有锁定的文件。然后要么移除、打破或窃取该锁。
At least one of the files is locked. As the error tells you, use the "Check for Modifications" dialog, click on the "check repository" button and then find the files which have a lock on them. Then either remove, break of steal that lock.
对于客户端命令行方法,您可以运行
svn 解锁 --强制有问题的.file.name
对存储库具有本地访问权限的管理员可以运行
svnadmin解锁
希望这会有所帮助。
For client-side command line approach, you can run
svn unlock --force problematic.file.name
An administrator who has local access to the repositories could run
svnadmin unlock
Hope this helps.
你用什么命令删除文件?这是 Subversion 中的本地命令还是远程命令?
如果您在本地模式下删除文件,它们是只读的吗?如果是这样,您必须确定是什么使它们成为只读的。他们身上有锁吗?请参阅红豆书籍中有关锁的章节。
您正在使用 Subversion 命令。正确的?
What command were you using to delete the files? Is this a local command or a remote command in Subversion?
If you were deleting files in local mode, are they read-only? If so, you'll have to determine what made them read-only. Is there a lock on them? See the Red Bean book chapter on locks.
You were using a Subversion command. Right?
如果您在 Eclipse 中,转到团队,单击锁定,然后有一个(窃取锁定)复选框,单击它并重试检查它,那么它应该适合您
if you are in eclipse , go to team, click lock, then there is check box for (steal lock) click it and retry with check it , then it should work for you