PDA

View Full Version : Mercurial: can pull but push gives "abort: cannot lock static-http repository"



AndyBlack
04-23-2011, 02:16 PM
By following what is in http://bugtracker.gttools.com/public/wiki/bluehost/Mercurial, I was able to create a repository on my bluehost account and clone it on another computer.

On that other machine, I can "read" the repository on the server (e.g. via hg fetch or hg outgoing), but when I try to do
hg push --debug

it gives this:

using https://www.xlingpaper.org/hg/repos/source
http auth: user myusername, password ********************
sending between command
http auth: user myusername, password ********************
real URL is https://www.xlingpaper.org/~myusername/hg/repos/source/
requested URL: 'https://www.xlingpaper.org/hg/repos/source?pairs=000000000000000
0000000000000000000000000-0000000000000000000000000000000000000000&cmd=between'
(falling back to static-http)
http auth: user myusername, password ********************
http auth: user myusername, password ********************
http auth: user myusername, password ********************
http auth: user myusername, password ********************
pushing to https://myusername:***@www.xlingpaper.org/hg/repos/source
abort: cannot lock static-http repository

Does anyone know what could cause this and how to fix it?

Thanks.

--Andy