觖决问题: TortoiseHg waiting for lock on working directory of X:\woks\2017\proj\FPGAFW@proj held by ''
2018-06-01 08:04
781 查看
问题
% hg add -- pll3.inc pll3.vhd pll3_inst.vhd pllClock.vhdwaiting for lock on working directory of X:\woks\2017\proj\FPGAFW@proj held by ''
解决方法
关闭TortoiseHg后,删除这个文件: .hg/wlock版本
TortoiseHg: 4.5.3it should be : delete the file .hg/wlock
参考
https://codeyarns.com/2011/01/20/mercurial-waiting-for-lock-2/#comment-65155Problem
Mercurial repositories can sometimes be left in a locked state. A lock is created whenever a client is connected to a repository. But, this lock is not removed if the client got disconnected, say over the network. If any client now tries to change the repository (say push changes), Mercurial complains that it is waiting for the lock.
Here is an example:
P:\Foobar>hg push
pushing to Q:\FoobarRep
waiting for lock on repository Q:\FoobarRep held by 'Computer42:9999'
In this example, Mercurial is complaining that a lock is still being held by a client from the computer named Computer42 over port 9999.
Solution
Delete the lock file in the .hg\store directory of the repository. In the example above, delete the file Q:\FoobarRep\.hg\store\lock
相关文章推荐
- [Tips]解决HG之waiting for lock on repository
- 记一次MySQL中Waiting for table metadata lock问题的处理
- warning: waiting for transaction lock on /var/lib/rpm/.rpm.lock
- Waiting for table metadata lock问题的解决
- How to solve "warning:waiting for transaction lock on /var/lib/" produced by pressing "Ctrl + c"?
- MySQL5.6.12 Waiting for commit lock导致从库hang住的问题剖析
- waiting for table metadata lock 问题深入分析
- GuestStealer allows for the stealing of VMware guests from vulnerable hosts based on the Directory Traversal Vulnerability
- warning: waiting for transaction lock on /var/lib/rpm/.rpm.lock
- waiting for transaction lock on /var/lib/rpm/__db.000
- warning: waiting for transaction lock on /var/lib/rpm/__db.000
- MySQL innodb waiting for table level lock 问题解决
- Anroid studio遇到的问题5--Gradle sync failed: Timeout waiting to lock cp_proj class cache for build
- MySQL innodb waiting for table level lock 问题解决
- warning: waiting for transaction lock on /var/lib/
- warning: waiting for transaction lock on /var/lib/rpm/__db.000
- Linux底下安装JDK warning: waiting for transaction lock on /var/lib/rpm/.rpm.lock
- Anroid studio遇到的问题5--Gradle sync failed: Timeout waiting to lock cp_proj class cache for build
- 如何解决ubuntu 12.04重启后出现waiting for network configuration和网络标志消失问题
- Directions for having MATLAB startup in your last working directory