diff mercurial/commands.py @ 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 ac280ab55c9f
children a8486615eece 61cd6653f846
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: