English 中文(简体)
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 option, 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.





相关问题
Can I clone part of a Mercurial repository?

Is it possible to clone part of a Mercurial repository? Let s say the repository is quite large, or contains multiple projects, or multiple branches. Can I clone only part of the repository? E.g. in ...

Sync files in Two Different Repos using HG

I ve got a problem when I try to sync files in two different repos. What I want to do is: I ve got 2 repos A and B, and they share some common files, suppose they lie in A/docs/common/ and B/docs/...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

git for mercurial like git-svn

Hello is there a tool for git that allow to work with mercurial repositories F.e. for svn there is a git-svn package, that allows to clone/commit/update from svn and work in a git way.. So is there ...

Useful Mercurial Hooks [closed]

What are some useful Mercurial hooks that you have come across? A few example hooks are located in the Mercurial book: acl bugzilla notify check for whitespace I personally don t find these very ...

热门标签