开发者

How to do push from clone repository to Remote server respository using http/ssh protocol?

I have following windows configuration:

Windows machine "A" has mercurial repository. hg server is running on "A" http

I created clone of "A" on windows machine "B" After adding and commitng my changes in to clone, I want to push these changes to machine "A". Tried TortoiseHg: synchronize -> Push optio开发者_开发知识库n, but getting below error:

pushing to http://praveen@IP Addr:8001/
searching for changes
1 changesets found
ssl required
[command returned code 1] 

Then I did below changes in the machine "A" /.hg/hgrc file

  [web]
  push_ssl = False
  allow_push = *

and again I tried hg push from machine "B" but getting same error.

can anyone solve my problem.

Thanks in Advance.

Praveen


What you've done looks right to me. I can think of two things that might be wrong.

  1. Did you restart the HTTP server on A after changing the hgrc file?

2. I don't know if hgrc is case-sensitive but try the setting as

`push_ssl = false`

because I've always seen it written that way.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜