How set the default repository

How can I set default remote repository for mercurial local repository?


Solution 1:

It's in the .hg/hgrc file.

[paths]
default = https://myserver/hg/repo1
default:pushurl = /home/me/mytestrepo