# HG changeset patch # User Juan Pablo Carbajal (desktop) # Date 1348918862 -7200 # Node ID 8fcef96141505d5939a9c7ed59d9b1f6707b917a # Parent 16ec37411db5696ce981d18296e93bde71e2d7cb help: add example of paths other than default in hgrc diff -r 16ec37411db5 -r 8fcef9614150 mercurial/help/config.txt --- a/mercurial/help/config.txt Sat Sep 29 13:34:37 2012 +0200 +++ b/mercurial/help/config.txt Sat Sep 29 13:41:02 2012 +0200 @@ -923,6 +923,17 @@ Optional. Directory or URL to use when pushing if no destination is specified. +Custom paths can be defined by assigning the path to a name that later can be +used from the command line. Example:: + + [paths] + my_path = http://example.com/path + +To push to the path defined in ``my_path`` run the command:: + + hg push my_path + + ``phases`` ----------