# HG changeset patch
# User Matt Mackall <mpm@selenic.com>
# Date 1435362329 18000
#      Fri Jun 26 18:45:29 2015 -0500
# Node ID eabba9c75061254ff62827f92df0f32491c74b3d
# Parent  81802d1355ac76f8227049c0bb9e25d70d4a808f
tests: add a check-config pass

diff --git a/tests/test-check-config-hg.t b/tests/test-check-config-hg.t
new file mode 100644
--- /dev/null
+++ b/tests/test-check-config-hg.t
@@ -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)