# HG changeset patch # User Faheem Mitha # Date 2010-04-14 06:29:53 # Node ID e3396b218e1040daf2585f0da7ca57ca9fc05761 # Parent 377d879e9d1b0238e4eb8fea507ba91608bfacaa Document 'default' and 'default-push' in paths docstring diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2347,6 +2347,11 @@ def paths(ui, repo, search=None): 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: