Let’s say I have a Mercurial repository and I’m pulling from a default parent URL (the source I cloned it from).
Now I want to change the default parent URL (hostname change, or it was copied to another machine, etc.). Is there a way to do this, or do I have to re-clone from the new URL?
You can even add multiple entries in the [paths] section of your .hg/hgrc file.
And then can specify its alias in the mercurial commands. default repo need not be specified but others have to be like,