tests/test-help.t
changeset 22770 de9424647fe4
parent 22587 c3c3dd31fe1c
child 23122 d9e3f5055772
equal deleted inserted replaced
22769:3f808549d426 22770:de9424647fe4
  1059           of nodes and edges, where nodes correspond to changesets and edges
  1059           of nodes and edges, where nodes correspond to changesets and edges
  1060           imply a parent -> child relation. This graph can be visualized by
  1060           imply a parent -> child relation. This graph can be visualized by
  1061           graphical tools such as "hg log --graph". In Mercurial, the DAG is
  1061           graphical tools such as "hg log --graph". In Mercurial, the DAG is
  1062           limited by the requirement for children to have at most two parents.
  1062           limited by the requirement for children to have at most two parents.
  1063   
  1063   
       
  1064 
       
  1065   $ hg help hgrc.paths
       
  1066       "paths"
       
  1067       -------
       
  1068   
       
  1069       Assigns symbolic names to repositories. The left side is the symbolic
       
  1070       name, and the right gives the directory or URL that is the location of the
       
  1071       repository. Default paths can be declared by setting the following
       
  1072       entries.
       
  1073   
       
  1074       "default"
       
  1075           Directory or URL to use when pulling if no source is specified.
       
  1076           Default is set to repository from which the current repository was
       
  1077           cloned.
       
  1078   
       
  1079       "default-push"
       
  1080           Optional. Directory or URL to use when pushing if no destination is
       
  1081           specified.
       
  1082   
       
  1083       Custom paths can be defined by assigning the path to a name that later can
       
  1084       be used from the command line. Example:
       
  1085   
       
  1086         [paths]
       
  1087         my_path = http://example.com/path
       
  1088   
       
  1089       To push to the path defined in "my_path" run the command:
       
  1090   
       
  1091         hg push my_path
       
  1092   
  1064   $ hg help glossary.mcguffin
  1093   $ hg help glossary.mcguffin
  1065   abort: help section not found
  1094   abort: help section not found
  1066   [255]
  1095   [255]
  1067 
  1096 
  1068 Test usage of section marks in help documents
  1097 Test usage of section marks in help documents