changeset 10933:e3396b218e10 stable

Document 'default' and 'default-push' in paths docstring
author Faheem Mitha <faheem@email.unc.edu>
date Wed, 14 Apr 2010 11:59:53 +0530
parents 377d879e9d1b
children a8486615eece 02d6149a480b af4fe14a6f7d
files mercurial/commands.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Fri Apr 16 01:57:53 2010 +0200
+++ b/mercurial/commands.py	Wed Apr 14 11:59:53 2010 +0530
@@ -2347,6 +2347,11 @@
     Path names are defined in the [paths] section of /etc/mercurial/hgrc
     and $HOME/.hgrc. If run inside a repository, .hg/hgrc is used, too.
 
+    The names 'default' and 'default-push' have a special meaning.
+    They are the locations used when pulling and pushing respectively
+    unless a location is specified. When cloning a repository, the
+    clone source is written as 'default' in .hg/hgrc.
+
     See 'hg help urls' for more information.
     """
     if search: