# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2017-06-02 04:44:00 # Node ID 01a95cbbff568f0cd7fe662c69efa67812ce4f06 # Parent 1df98fc923d4a8e529092ac6ef3a2a26e26ba7fb py3: add a test to show `hg diff` works on Python 3 diff --git a/tests/test-py3-commands.t b/tests/test-py3-commands.t --- a/tests/test-py3-commands.t +++ b/tests/test-py3-commands.t @@ -118,6 +118,13 @@ Test bytes-ness of policy.policy with HG $ $PYTHON3 $HGBIN add iota $ $PYTHON3 $HGBIN status A iota + $ hg diff --nodates --git + diff --git a/iota b/iota + new file mode 100644 + --- /dev/null + +++ b/iota + @@ -0,0 +1,1 @@ + +This is the file 'iota'. $ $PYTHON3 $HGBIN commit --message 'commit performed in Python 3' $ $PYTHON3 $HGBIN status