Mercurial > public > mercurial-scm > hg-stable
comparison 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 |
comparison
equal
deleted
inserted
replaced
10928:377d879e9d1b | 10933:e3396b218e10 |
---|---|
2344 Show definition of symbolic path name NAME. If no name is given, | 2344 Show definition of symbolic path name NAME. If no name is given, |
2345 show definition of all available names. | 2345 show definition of all available names. |
2346 | 2346 |
2347 Path names are defined in the [paths] section of /etc/mercurial/hgrc | 2347 Path names are defined in the [paths] section of /etc/mercurial/hgrc |
2348 and $HOME/.hgrc. If run inside a repository, .hg/hgrc is used, too. | 2348 and $HOME/.hgrc. If run inside a repository, .hg/hgrc is used, too. |
2349 | |
2350 The names 'default' and 'default-push' have a special meaning. | |
2351 They are the locations used when pulling and pushing respectively | |
2352 unless a location is specified. When cloning a repository, the | |
2353 clone source is written as 'default' in .hg/hgrc. | |
2349 | 2354 |
2350 See 'hg help urls' for more information. | 2355 See 'hg help urls' for more information. |
2351 """ | 2356 """ |
2352 if search: | 2357 if search: |
2353 for name, path in ui.configitems("paths"): | 2358 for name, path in ui.configitems("paths"): |