mercurial/commands.py
changeset 11008 af2a58ab4182
parent 11004 7bb10d3dbcd6
parent 11007 a0102da324ab
child 11009 4d3288197717
equal deleted inserted replaced
11006:6d9ff3374a81 11008:af2a58ab4182
  2379     show definition of all available names.
  2379     show definition of all available names.
  2380 
  2380 
  2381     Path names are defined in the [paths] section of /etc/mercurial/hgrc
  2381     Path names are defined in the [paths] section of /etc/mercurial/hgrc
  2382     and $HOME/.hgrc. If run inside a repository, .hg/hgrc is used, too.
  2382     and $HOME/.hgrc. If run inside a repository, .hg/hgrc is used, too.
  2383 
  2383 
  2384     The names 'default' and 'default-push' have a special meaning.
  2384     The path names ``default`` and ``default-push`` have a special
  2385     They are the locations used when pulling and pushing respectively
  2385     meaning.  When performing a push or pull operation, they are used
  2386     unless a location is specified. When cloning a repository, the
  2386     as fallbacks if no location is specified on the command-line.
  2387     clone source is written as 'default' in .hg/hgrc.
  2387     When ``default-push`` is set, it will be used for push and
       
  2388     ``default`` will be used for pull; otherwise ``default`` is used
       
  2389     as the fallback for both.  When cloning a repository, the clone
       
  2390     source is written as ``default`` in ``.hg/hgrc``.  Note that
       
  2391     ``default`` and ``default-push`` apply to all inbound (e.g. ``hg
       
  2392     incoming``) and outbound (e.g. ``hg outgoing``, ``hg email`` and
       
  2393     ``hg bundle``) operations.
  2388 
  2394 
  2389     See :hg:`help urls` for more information.
  2395     See :hg:`help urls` for more information.
  2390     """
  2396     """
  2391     if search:
  2397     if search:
  2392         for name, path in ui.configitems("paths"):
  2398         for name, path in ui.configitems("paths"):