Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Mercurial: Waiting for lock

📅 2010-Aug-30 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

In some rare cases, you get this error when pushing changes to a Mercurial repository:

$ hg push
pushing to D:\HgReps\Foobar
waiting for lock on repository D:\HgReps\Foobar held by ''
interrupted!

A few solutions to this problem:

Tried with: Mercurial 1.6 on Windows 7