doc/hgrc.5.txt
changeset 13906 a1e418070ff6
parent 13751 85d74f6babf6
parent 13904 5065e120636d
child 13962 8b252e826c68
equal deleted inserted replaced
13903:a6c69abd91a0 13906:a1e418070ff6
   410 Otherwise, give a name that you choose, followed by ``=``, followed by
   410 Otherwise, give a name that you choose, followed by ``=``, followed by
   411 the path to the ``.py`` file (including the file name extension) that
   411 the path to the ``.py`` file (including the file name extension) that
   412 defines the extension.
   412 defines the extension.
   413 
   413 
   414 To explicitly disable an extension that is enabled in an hgrc of
   414 To explicitly disable an extension that is enabled in an hgrc of
   415 broader scope, prepend its path with ``!``, as in
   415 broader scope, prepend its path with ``!``, as in ``foo = !/ext/path``
   416 ``hgext.foo = !/ext/path`` or ``hgext.foo = !``  when path is not
   416 or ``foo = !`` when path is not supplied.
   417 supplied.
       
   418 
   417 
   419 Example for ``~/.hgrc``::
   418 Example for ``~/.hgrc``::
   420 
   419 
   421   [extensions]
   420   [extensions]
   422   # (the mq extension will get loaded from Mercurial's path)
   421   # (the mq extension will get loaded from Mercurial's path)
   423   hgext.mq =
   422   mq =
   424   # (this extension will get loaded from the file specified)
   423   # (this extension will get loaded from the file specified)
   425   myfeature = ~/.hgext/myfeature.py
   424   myfeature = ~/.hgext/myfeature.py
   426 
   425 
   427 
   426 
   428 ``hostfingerprints``
   427 ``hostfingerprints``