D4670: py3: use print as a function in tests/test-subrepo-svn.t
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Thu Sep 20 15:49:47 UTC 2018
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D4670
AFFECTED FILES
tests/test-subrepo-svn.t
CHANGE DETAILS
diff --git a/tests/test-subrepo-svn.t b/tests/test-subrepo-svn.t
--- a/tests/test-subrepo-svn.t
+++ b/tests/test-subrepo-svn.t
@@ -247,7 +247,7 @@
verify subrepo is contained within the repo directory
- $ "$PYTHON" -c "import os.path; print os.path.exists('s')"
+ $ "$PYTHON" -c "from __future__ import print_function; import os.path; print(os.path.exists('s'))"
True
update to nullrev (must delete the subrepo)
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list