tests: add a check-config pass
authorMatt Mackall <mpm@selenic.com>
Fri, 26 Jun 2015 18:45:29 -0500
changeset 25854 eabba9c75061
parent 25853 81802d1355ac
child 25855 96a38d44ba09
child 25890 35e8d7139224
tests: add a check-config pass
tests/test-check-config-hg.t
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-check-config-hg.t	Fri Jun 26 18:45:29 2015 -0500
@@ -0,0 +1,27 @@
+#require test-repo
+
+  $ cd "$TESTDIR"/..
+
+New errors are not allowed. Warnings are strongly discouraged.
+
+  $ hg files "set:(**.py or **.txt) - tests/**" |
+  >   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)