view tests/test-check-config-hg.t @ 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 8c1d7a0e737b
children 9c98fe1416c2
line wrap: on
line source

#require test-repo

  $ cd "$TESTDIR"/..

New errors are not allowed. Warnings are strongly discouraged.

  $ hg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' |
  >   xargs python contrib/check-config.py
  undocumented: convert.cvsps.cache (bool) [True]
  undocumented: convert.cvsps.fuzz (str) [60]
  undocumented: convert.cvsps.mergefrom (str)
  undocumented: convert.cvsps.mergeto (str)
  undocumented: convert.git.remoteprefix (str) ['remote']
  undocumented: convert.git.similarity (int) [50]
  undocumented: convert.hg.clonebranches (bool)
  undocumented: convert.hg.ignoreerrors (bool)
  undocumented: convert.hg.revs (str)
  undocumented: convert.hg.saverev (bool)
  undocumented: convert.hg.sourcename (str)
  undocumented: convert.hg.startrev (str)
  undocumented: convert.hg.tagsbranch (str) ['default']
  undocumented: convert.hg.usebranchnames (bool) [True]
  undocumented: convert.localtimezone (bool)
  undocumented: convert.p4.startrev (str)
  undocumented: convert.skiptags (bool)
  undocumented: convert.svn.debugsvnlog (bool) [True]
  undocumented: convert.svn.startrev (str)