Reputation: 32391
I'm currently getting this message whenever I try to push to one of our repositories:
waiting for lock on repository <repo_path> held by '<hostname>:4228'
The hostname is the PC I'm trying to push from, and the port number changes each time I try.
I've searched and found this answer which suggests deleting the file .hg/store/lock but this file is not present on my computer.
Interestingly I see the lock file appear when I run the command, and see it removed again when I cancel the operation with ctrl-C. It's almost like the hg process doesn't recognise that it is its own lock.
Any ideas?
Upvotes: 3
Views: 1181
Reputation: 328674
Seems like there is a stale file in the Bitbucket server.
Contact the support of the server and forward them the error message. Or just try again. Chances are that they have a cleanup process which removes stale locks after a timeout.
Upvotes: 1