Gregory Szorc
ade216b11a
mail: use print function
...
We no longer use the print statement in mercurial.* \o/
2016-01-02 11:47:07 -08:00
Gregory Szorc
4d22c2ded4
lsprofcalltree: use print function
...
While I was here, some single element tuples have been removed in
favor of the shorter syntax. Some commented lines of code containing
print statements have also been removed because it was unclear what
purpose they served.
2016-01-02 11:45:29 -08:00
Gregory Szorc
742b6fa534
lsprof: use print function
2016-01-02 11:40:53 -08:00
Gregory Szorc
73c33b60d4
keepalive: use print function
2015-06-21 23:14:54 -07:00
Gregory Szorc
edf696301c
dispatch: use print function
...
Python 3 doesn't have a print statement.
2015-06-21 21:45:41 -07:00
Augie Fackler
f19af9e9c4
httpclient: update to 938f2107d6e2 of httpplus
...
This enhances proxy support in httpclient a little bit, though I don't
know that we used that functionality at all. It also switches httpplus
to using absolute_import.
2015-12-31 13:19:20 -05:00
Gregory Szorc
9859c8fd09
exchange: use absolute_import
2015-12-23 12:32:08 -08:00
Gregory Szorc
4ccb8aa7b3
localrepo: use absolute_import
2015-12-23 12:30:14 -08:00
Gregory Szorc
2a56f0283f
httpconnection: use absolute_import
2015-12-21 21:52:58 -08:00
Gregory Szorc
ccd1a37a31
keepalive: use absolute_import
2015-12-22 16:28:28 -08:00
Gregory Szorc
a12b0c85e9
context: use absolute_import
2015-12-21 21:51:31 -08:00
Gregory Szorc
69a8c50d7e
lsprofcalltree: use absolute_import
2015-12-21 21:44:15 -08:00
Gregory Szorc
8e54d63538
byterange: use absolute_import
...
There were a lot of imports scattered around this file. They have been
consolidated at the top of the file where they belong.
2015-12-21 21:42:14 -08:00
Gregory Szorc
061e8691b5
dirstate: use absolute_import
2015-12-21 21:38:53 -08:00
Gregory Szorc
d6f69e17c6
manifest: use absolute_import
2015-12-21 21:35:46 -08:00
Gregory Szorc
fbecdd00e5
pvec: use absolute_import
2015-12-21 21:32:58 -08:00
Gregory Szorc
3abe9bcc8e
py3compat: use absolute_import
2015-12-21 21:31:57 -08:00
Gregory Szorc
090eb4dcbe
patch: use absolute_import
2015-12-21 21:33:52 -08:00
Gregory Szorc
ffa0c7e97c
mdiff: use absolute_import
2015-12-21 21:26:14 -08:00
Gregory Szorc
4b6a93ce1c
scmposix: use absolute_import
2015-12-21 21:24:49 -08:00
Gregory Szorc
4602d8f855
scmutil: use absolute_import
2015-12-21 21:23:43 -08:00
Gregory Szorc
2895e45846
scmwindows: use absolute_import
2015-12-21 21:21:09 -08:00
Gregory Szorc
dfef101207
store: use absolute_import
2015-12-21 21:19:57 -08:00
Gregory Szorc
68a8e8f9f4
help: use absolute_import
2015-12-21 21:33:27 -08:00
Matt Harbison
3cab7ba2f7
tests: convert directory separators to '/' for MSYS in test-check-py-compat
...
This is the same fix as ca24c20a1c94.
2015-12-16 17:22:37 -05:00
Gregory Szorc
25c5781010
revlog: use absolute_import
2015-12-12 23:22:18 -08:00
Gregory Szorc
c66a27807d
windows: use absolute_import
2015-12-12 23:19:38 -08:00
Gregory Szorc
5c29ba6835
similar: use absolute_import
2015-12-12 23:17:22 -08:00
Gregory Szorc
7b3fa04da1
util: use absolute_import
2015-12-12 23:14:08 -08:00
Gregory Szorc
5d71f3b2b9
encoding: use absolute_import
2015-12-12 22:57:48 -05:00
Yuya Nishihara
a881bac864
commandserver: use absolute_import
2015-11-24 22:58:40 +09:00
Gregory Szorc
98bb2fb083
parsers: use absolute_import
2015-12-12 13:39:29 -05:00
Gregory Szorc
3fccff1c87
osutil: use absolute_import
2015-12-12 13:46:32 -05:00
Gregory Szorc
132a5b6d98
mpatch: use absolute_import
...
While I was here, I removed the try..except around importing cStringIO
because cStringIO should always be importable on modern Python versions.
We already do an unconditional import in other files.
2015-12-12 13:37:56 -05:00
Gregory Szorc
d6131e9cde
diffhelpers: use absolute_import
2015-12-12 13:35:41 -05:00
Gregory Szorc
38f154a7ae
bdiff: use absolute_import
2015-12-12 13:34:55 -05:00
Gregory Szorc
631c25fecc
base85: use absolute_import
2015-12-12 13:33:47 -05:00
Gregory Szorc
71b5e83cd8
destutil: use absolute_import
2015-12-12 13:32:25 -05:00
Gregory Szorc
06ebc04a42
obsolete: use absolute_import
2015-12-12 13:30:47 -05:00
Gregory Szorc
164cea475f
contrib: ignore empty files in check-py3-compat.py
2015-12-12 13:27:31 -05:00
Gregory Szorc
7a14eca3ba
tests: use absolute_import in tinyproxy
...
Thus begins a series of adding absolute_import to a bunch of files for
Python 3 compatibility.
2015-12-06 22:20:08 -08:00
Gregory Szorc
32a26751a0
tests: use absolulte_import in test-wireproto.py
2015-12-06 22:02:39 -08:00
Gregory Szorc
6aedf6c7e9
tests: use absolute_import in test-walkrepo
2015-12-06 22:05:19 -08:00
Gregory Szorc
6700f82707
tests: use absolute_import in hgweberror.py
2015-12-06 22:27:53 -08:00
Gregory Szorc
dd5b65b197
tests: use absolute_import in hghave.py
2015-12-06 22:27:18 -08:00
Gregory Szorc
8cca557cf0
tests: use absolute_import for heredoctest.py
2015-12-06 22:26:12 -08:00
Gregory Szorc
df8d1f17a7
tests: use absolute_import in /get-with-headers.py
...
While I was here, I removed condition code for failure to import json.
This code was necessary to support Python < 2.6, which didn't include
the json module.
2015-12-06 22:25:41 -08:00
Gregory Szorc
a89bad72f6
tests: use absolute_import in generate-working-copy-states.py
2015-12-06 22:23:37 -08:00
Gregory Szorc
eeefc7c496
tests/filterpyflakes: use absolute_import
2015-12-06 22:22:09 -08:00
Gregory Szorc
8b09023a2c
tests/fakepatchtime.py: use absolute_import
2015-12-06 22:14:39 -08:00