py3: use python3 hg in test-py3-commands.t at places where py2 hg was used
authorPulkit Goyal <7895pulkit@gmail.com>
Tue, 13 Jun 2017 01:23:54 +0530
changeset 32803 90ce5f0366ba
parent 32802 f40eec7af044
child 32804 c0b2c8f25ad9
py3: use python3 hg in test-py3-commands.t at places where py2 hg was used This patch fixes my mistakes where I added test in test-py3-commands.t as `hg ...` where I forgot hg here refers to Python 2 mercurial.
tests/test-py3-commands.t
--- a/tests/test-py3-commands.t	Mon Jun 12 13:10:09 2017 -0700
+++ b/tests/test-py3-commands.t	Tue Jun 13 01:23:54 2017 +0530
@@ -183,7 +183,7 @@
   summary:     commit performed in Python 3
   
 
-  $ hg log -G
+  $ $PYTHON3 $HGBIN log -G
   @  changeset:   1:e1e9167203d4
   |  tag:         tip
   |  user:        test
@@ -195,7 +195,7 @@
      date:        Thu Jan 01 00:00:00 1970 +0000
      summary:     commit performed in Python 3
   
-  $ hg log -Tjson
+  $ $PYTHON3 $HGBIN log -Tjson
   [
    {
     "rev": 1,
@@ -225,7 +225,7 @@
 
 Show that update works now!
 
-  $ hg up 0
+  $ $PYTHON3 $HGBIN up 0
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
-  $ hg identify
+  $ $PYTHON3 $HGBIN identify
   71c96e924262