Dirkjan Ochtman
cb25b6f79d
cleanups: unused variables
2010-06-08 09:30:33 +02:00
Patrick Mezard
88569d9b27
win32: detect console width on Windows
...
Original version by anatoly techtonik <techtonik@gmail.com>
Following advices from similar bzr code.
2010-04-25 18:27:12 +02:00
Steve Borho
9a5cb3aaab
win32: allow hgrc.d on Windows
2010-02-07 05:34:22 -06:00
Matt Mackall
cd3ef170f7
Merge with stable
2010-01-19 22:45:09 -06:00
Matt Mackall
595d66f424
Update license to GPLv2+
2010-01-19 22:20:08 -06:00
Patrick Mezard
052695b2e4
cmdutil: hide child window created by win32 spawndetached()
...
Hiding the child process window is not strictly necessary but it avoids opening
an empty shell window when running hg serve as well as a task in the task bar.
The window is hidden after the process is already started causing a single
flicker.
2010-01-10 18:13:34 +01:00
Patrick Mezard
be67c8a241
win32: close file when leaving _getfileinfo()
2010-01-08 23:15:22 +01:00
Siddharth Agarwal
eab3968819
Add support for relinking on Windows.
...
Test and minor code change by Patrick Mézard <pmezard@gmail.com>
2010-01-08 18:48:39 +05:30
Martin Geisler
ae0794fd45
coding style: use a space after comma
...
I left a cases like 'lambda x,y:' alone -- the lack of a space does
not bother me as much when the variables are single letters.
2009-07-22 23:12:54 +02:00
Henrik Stuart
97f9be9c1f
windows: fix use of undefined exception (issue1707)
...
This fixes the implied reliance on pywin32 and the win32 module. This
also fixes a regression in fe7c89838a64 that made Mercurial unusable
without pywin32.
2009-06-25 22:43:58 +02:00
Martin Geisler
58e8fb6277
removed unused imports
2009-05-30 23:20:30 +02:00
Sune Foldager
adc90b2605
posixfile: remove posixfile_nt and fix import bug in windows.py
...
The posixfile_nt class has been superseded by posixfile in osutils.c,
which works on Windows NT and above. All other systems get the regular
python file class which is assigned to posixfile in posix.py (for POSIX)
and in the pure python version of osutils.py (for Win 9x or Windows NT
in pure mode).
2009-05-13 21:36:16 +02:00
Bryan O'Sullivan
25eaff219f
win32: clarify comment regarding use of fdopen
2009-03-26 13:14:35 -07:00
Bryan O'Sullivan
3b57c5ca0f
win32: allow catching of both pywintypes.error and WindowsError
2009-03-26 13:13:48 -07:00
Martin Geisler
2c8901a1b9
turn some comments back into module docstrings
2009-04-26 01:24:49 +02:00
Martin Geisler
8e4bc1e9ad
put license and copyright info into comment blocks
2009-04-26 01:13:08 +02:00
Martin Geisler
750183bdad
updated license to be explicit about GPL version 2
2009-04-26 01:08:54 +02:00
Matt Mackall
642f4d7151
move encoding bits from util to encoding
...
In addition to cleaning up util, this gets rid of some circular dependencies.
2009-04-03 14:51:48 -05:00
Matt Mackall
0952760f82
util: split out posix, windows, and win32 modules
2009-03-26 13:54:44 -05:00