Patchwork [4,of,4,py3,V2] tests: prove that `hg init` works with Python 3

login
register
mail settings
Submitter Gregory Szorc
Date March 13, 2017, 8:08 p.m.
Message ID <10894f414de0ae5b3cd3.1489435732@ubuntu-vm-main>
Download mbox | patch
Permalink /patch/19305/
State Accepted
Headers show

Comments

Gregory Szorc - March 13, 2017, 8:08 p.m.
# HG changeset patch
# User Gregory Szorc <gregory.szorc@gmail.com>
# Date 1489435597 25200
#      Mon Mar 13 13:06:37 2017 -0700
# Node ID 10894f414de0ae5b3cd36d1d0b90e1aa4671b659
# Parent  ae4c0d8f0ca7218c8b1d259b72660c99b4c085aa
tests: prove that `hg init` works with Python 3

The previous patch made `hg init` work!

Patch

diff --git a/tests/test-check-py3-commands.t b/tests/test-check-py3-commands.t
--- a/tests/test-check-py3-commands.t
+++ b/tests/test-check-py3-commands.t
@@ -74,3 +74,7 @@  Test bytes-ness of policy.policy with HG
   $ 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