cvs rtag: [07:34:59] waiting for cvsuser's lock in

匿名 (未验证) 提交于 2019-12-03 00:57:01

问题:

When I do rtag the process is rather slow with the message cvs rtag: [07:34:59] waiting for cvsuser's lock in ...; what causes this and how to resolve this? Thanks in advance.

回答1:

Searching via Google for "cvs waiting for lock" returns plenty of results. This is the first result I see and it covers everything you need:

But in essence, someone else is in the middle of a CVS operation. Wait for it to complete.

If you know that this isn't the case (eg. you spoke to that user) then their cvs operation failed and left a lock file behind. Delete it. See the link for details.



回答2:

The information in the link given by Burhan Ali is out of date. The latest incarnation of cvs seems to store locks in $CVSROOT/locks/project/directory... so if the message is "Waiting for foo's lock in /home/cvs/myproject/html" the lock file is in /home/cvs/locks/myproject/html with an owner of foo. The name of the lock file starts with #cvs but there only seem to be lock files there.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!