# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1490779618 -19800 # Node ID 62676bb8d5348d128b178b134fa80eae2016e0d0 # Parent 439a387ca6f163187084679556e82a7ea4e3c9a2 tests: add check to make sure summary works on Python 2 diff -r 439a387ca6f1 -r 62676bb8d534 tests/test-check-py3-commands.t --- a/tests/test-check-py3-commands.t Wed Mar 29 14:47:52 2017 +0530 +++ b/tests/test-check-py3-commands.t Wed Mar 29 14:56:58 2017 +0530 @@ -111,6 +111,7 @@ `hg init` can create empty repos `hg status works fine` +`hg summary` also works! $ $PYTHON3 `which hg` init py3repo $ cd py3repo @@ -131,6 +132,13 @@ A A/mu $ HGEDITOR='echo message > ' $PYTHON3 $HGBIN commit $ $PYTHON3 $HGBIN status + $ $PYHON3 $HGBIN summary + parent: 1:e1e9167203d4 tip + message + branch: default + commit: (clean) + update: (current) + phases: 2 draft Prove the repo is valid using the Python 2 `hg`: $ hg verify