Cannot push to shared server

Nick Gamroth thebeekeeper at gmail.com
Wed Apr 28 09:18:13 CDT 2010


On Tue, Apr 27, 2010 at 11:24 PM, Matt Mackall <mpm at selenic.com> wrote:
> On Tue, 2010-04-27 at 21:49 -0500, Nick Gamroth wrote:
>> Hi,
>> I've installed mercurial on a shared host (bluehost) using these
>> instructions: http://gttools.com/bluehost-setup/mercurial-and-trac-setup-on-bluehost/
>
> We don't know anything about trac here.

Should have been more clear; I'm not worried about Trac at all.
>
>> I can create repositories on the server from the shell, and I can even
>> clone them on my local machine.  I am not able to push changes back to
>> the server however.
>>
>> Here is all the information I get:
>>
>>
>> eper at ubuntu:/host/temp/f/PROJECT$ hg --verbose push
>> http://****:****@thebeekeeper.net/hg/repos/PROJECT
>> Not trusting file /host/temp/f/PROJECT/.hg/hgrc from untrusted user
>> root, group root
>> Not trusting file /host/temp/f/PROJECT/.hg/hgrc from untrusted user
>> root, group root
>> real URL is http://thebeekeeper.net/hg/repos/PROJECT/
>> (falling back to static-http)
>
> Whatever's on the other end gave us an answer we weren't expecting when
> we said hello. Check your server logs for errors. But pushing over plain
> http is not advised.
>

Ok, here is my server log when I issue a hg push:
 - myusername [28/Apr/2010:08:03:30 -0600] "GET
/hg/repos/CBOARD/.hg/store/00changelog.i HTTP/1.1" 206 1410 "-"
"mercurial/proto-1.0"
 - - [28/Apr/2010:08:05:58 -0600] "GET
/hg/repos/CBOARD?pairs=0000000000000000000000000000000000000000-0000000000000000000000000000000000000000&cmd=between
HTTP/1.1" 401 467 "-" "mercurial/proto-1.0"
 - myusername [28/Apr/2010:08:05:58 -0600] "GET
/hg/repos/CBOARD?pairs=0000000000000000000000000000000000000000-0000000000000000000000000000000000000000&cmd=between
HTTP/1.1" 301 934 "-" "mercurial/proto-1.0"
 - myusername [28/Apr/2010:08:05:58 -0600] "GET
/hg/repos/CBOARD/?pairs=0000000000000000000000000000000000000000-0000000000000000000000000000000000000000&cmd=between
HTTP/1.1" 200 749 "-" "mercurial/proto-1.0"
 - - [28/Apr/2010:08:05:59 -0600] "GET /hg/repos/CBOARD/.hg/requires
HTTP/1.1" 401 467 "-" "mercurial/proto-1.0"
 - myusername [28/Apr/2010:08:05:59 -0600] "GET
/hg/repos/CBOARD/.hg/requires HTTP/1.1" 206 382 "-"
"mercurial/proto-1.0"
 - - [28/Apr/2010:08:05:59 -0600] "GET
/hg/repos/CBOARD/.hg/store/00manifest.i HTTP/1.1" 401 467 "-"
"mercurial/proto-1.0"
 - myusername [28/Apr/2010:08:05:59 -0600] "GET
/hg/repos/CBOARD/.hg/store/00manifest.i HTTP/1.1" 206 3122 "-"
"mercurial/proto-1.0"
 - - [28/Apr/2010:08:05:59 -0600] "GET
/hg/repos/CBOARD/.hg/store/00changelog.i HTTP/1.1" 401 467 "-"
"mercurial/proto-1.0"
 - myusername [28/Apr/2010:08:05:59 -0600] "GET
/hg/repos/CBOARD/.hg/store/00changelog.i HTTP/1.1" 206 1391 "-"
"mercurial/proto-1.0"

I don't really see any errors there.  I didn't know how to specify
plain http, but I thought doing
hg push https://***:***@thebeekeeper.net/hg/repos/CBOARD
might help.  I get the same error, and the log looks almost the same:

 - myusername [28/Apr/2010:08:06:45 -0600] "GET
/~thebeeke/hg/repos/CBOARD/?pairs=0000000000000000000000000000000000000000-0000000000000000000000000000000000000000&cmd=between
HTTP/1.1" 200 842 "-" "mercurial/proto-1.0"
 - - [28/Apr/2010:08:06:45 -0600] "GET /hg/repos/CBOARD/.hg/requires
HTTP/1.1" 301 2515 "-" "mercurial/proto-1.0"
 - - [28/Apr/2010:08:06:45 -0600] "GET
/~thebeeke/hg/repos/CBOARD/.hg/requires HTTP/1.1" 401 5001 "-"
"mercurial/proto-1.0"
 - myusername [28/Apr/2010:08:06:45 -0600] "GET
/~thebeeke/hg/repos/CBOARD/.hg/requires HTTP/1.1" 206 2452 "-"
"mercurial/proto-1.0"
 - - [28/Apr/2010:08:06:46 -0600] "GET
/hg/repos/CBOARD/.hg/store/00manifest.i HTTP/1.1" 301 521 "-"
"mercurial/proto-1.0"
 - - [28/Apr/2010:08:06:46 -0600] "GET
/~thebeeke/hg/repos/CBOARD/.hg/store/00manifest.i HTTP/1.1" 401 5033
"-" "mercurial/proto-1.0"
 - myusername [28/Apr/2010:08:06:46 -0600] "GET
/~thebeeke/hg/repos/CBOARD/.hg/store/00manifest.i HTTP/1.1" 206 5204
"-" "mercurial/proto-1.0"
 - - [28/Apr/2010:08:06:46 -0600] "GET
/hg/repos/CBOARD/.hg/store/00changelog.i HTTP/1.1" 301 521 "-"
"mercurial/proto-1.0"
 - - [28/Apr/2010:08:06:46 -0600] "GET
/~thebeeke/hg/repos/CBOARD/.hg/store/00changelog.i HTTP/1.1" 401 5033
"-" "mercurial/proto-1.0"
 - myusername [28/Apr/2010:08:06:47 -0600] "GET
/~thebeeke/hg/repos/CBOARD/.hg/store/00changelog.i HTTP/1.1" 206 3476
"-" "mercurial/proto-1.0"

Nothing there sticks out to me as a problem.

Thanks for the help!
Nick



> --
> http://selenic.com : development and support for Mercurial and Linux
>
>
>



-- 
~+~+~+~+~+~+~
thebeekeeper.net


More information about the Mercurial mailing list