Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How set the default repository

Tags:

mercurial

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

like image 852
ceth Avatar asked Sep 27 '10 13:09

ceth


People also ask

How do I change my default GitHub repository?

In the top right corner of GitHub.com, click your profile photo, then click Your organizations. Next to the organization, click Settings. In the "Code, planning, and automation" section of the sidebar, select Repository, then click Repository defaults.


1 Answers

It's in the .hg/hgrc file.

[paths] default = https://myserver/hg/repo1 default:pushurl = /home/me/mytestrepo 
like image 190
moswald Avatar answered Sep 30 '22 09:09

moswald