Mercurial > hg
changeset 31717:62676bb8d534
tests: add check to make sure summary works on Python 2
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Wed, 29 Mar 2017 14:56:58 +0530 |
parents | 439a387ca6f1 |
children | bf64449b2779 |
files | tests/test-check-py3-commands.t |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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