tests: prove that `hg init` works with Python 3
authorGregory Szorc <gregory.szorc@gmail.com>
Mon, 13 Mar 2017 13:06:37 -0700
changeset 31401 ed23f929af38
parent 31400 fb1f70331ee6
child 31402 ea0395eec67b
tests: prove that `hg init` works with Python 3 The previous patch made `hg init` work!
tests/test-check-py3-commands.t
--- a/tests/test-check-py3-commands.t	Mon Mar 13 12:16:47 2017 -0700
+++ b/tests/test-check-py3-commands.t	Mon Mar 13 13:06:37 2017 -0700
@@ -74,3 +74,7 @@
   $ export HGMODULEPOLICY
   $ $PYTHON3 `which hg` debuginstall 2>&1 2>&1 | tail -1
   no problems detected
+
+`hg init` can create empty repos
+
+  $ $PYTHON3 `which hg` init emptyrepo