How can I add remote repositories in Mercurial?
问题 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