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

2019-06-24 14:38发布

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.

标签: cvs
2条回答
Viruses.
2楼-- · 2019-06-24 15:16

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.

查看更多
混吃等死
3楼-- · 2019-06-24 15:27

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.

查看更多
登录 后发表回答