Blog Archive for February 12, 2011

Mercurial Default Push Location

February 12, 2011

To set up a default push location, so that you don't have to specify the destination each time, create or edit a file called hgrc inside the .hg directory of the repository.

Add the following:

[paths]
default-push = http://server/repos

You can then do a

$ hg push

without having to …