# HG changeset patch
# User Juan Pablo Carbajal (desktop) <carbajal@ifi.uzh.ch>
# Date 2012-09-29 11:41:02
# Node ID 8fcef96141505d5939a9c7ed59d9b1f6707b917a
# Parent  16ec37411db5696ce981d18296e93bde71e2d7cb

help: add example of paths other than default in hgrc

diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt
--- a/mercurial/help/config.txt
+++ b/mercurial/help/config.txt
@@ -923,6 +923,17 @@ the following entries.
     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``
 ----------