comparison mercurial/help.py @ 25881:9de443515f1d stable

help: scripting help topic There are a lot of non-human consumers of Mercurial. And the challenges and considerations for machines consuming Mercurial is significantly different from what humans face. I think there are enough special considerations around how machines consume Mercurial that a dedicated help topic is warranted. I concede the audience for this topic is probably small compared to the general audience. However, lots of normal Mercurial users do things like create one-off shell scripts for common workflows that I think this is useful enough to be in the install (as opposed to, say, a wiki page - which most users will likely never find). This text is by no means perfect. But you have to start somewhere. I think I did cover the important parts, though.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 18 Jul 2015 17:10:28 -0700
parents 328739ea70c3
children 3a4620ad4490
comparison
equal deleted inserted replaced
25880:6fb55c6c6562 25881:9de443515f1d
164 (["hgweb"], _("Configuring hgweb"), loaddoc('hgweb')), 164 (["hgweb"], _("Configuring hgweb"), loaddoc('hgweb')),
165 (["glossary"], _("Glossary"), loaddoc('glossary')), 165 (["glossary"], _("Glossary"), loaddoc('glossary')),
166 (["hgignore", "ignore"], _("Syntax for Mercurial Ignore Files"), 166 (["hgignore", "ignore"], _("Syntax for Mercurial Ignore Files"),
167 loaddoc('hgignore')), 167 loaddoc('hgignore')),
168 (["phases"], _("Working with Phases"), loaddoc('phases')), 168 (["phases"], _("Working with Phases"), loaddoc('phases')),
169 (['scripting'], _('Using Mercurial from scripts and automation'),
170 loaddoc('scripting')),
169 ]) 171 ])
170 172
171 # Map topics to lists of callable taking the current topic help and 173 # Map topics to lists of callable taking the current topic help and
172 # returning the updated version 174 # returning the updated version
173 helphooks = {} 175 helphooks = {}