hg-paths

How can I add remote repositories in Mercurial?

六月ゝ 毕业季﹏ 提交于 2019-12-03 02:48:37
问题 I am working with Git repositories in the following way: I have the master repository and several remotes on the different production machines. I am pushing the production code to the remotes and restart the services for the changes to take effect. I am about to switch from Git to Mercurial and I would like to know ahead how I can achieve something like that. 回答1: You add entries to the [paths] section of your local clone's .hg/hgrc file. Here's an example of a section that would go in the

How can I add remote repositories in Mercurial?

穿精又带淫゛_ 提交于 2019-12-02 14:46:41
I am working with Git repositories in the following way: I have the master repository and several remotes on the different production machines. I am pushing the production code to the remotes and restart the services for the changes to take effect. I am about to switch from Git to Mercurial and I would like to know ahead how I can achieve something like that. You add entries to the [paths] section of your local clone's .hg/hgrc file. Here's an example of a section that would go in the .hg/hgrc file: [paths] remote1 = http://path/to/remote1 remote2 = http://path/to/remote2 You can then use