Wed, 13 Jan 2010 12:00:06 +0100 merge with stable
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 13 Jan 2010 12:00:06 +0100] rev 10244
merge with stable
Wed, 13 Jan 2010 11:53:55 +0100 ui: just return it if it's already a bool stable
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 13 Jan 2010 11:53:55 +0100] rev 10243
ui: just return it if it's already a bool
Wed, 13 Jan 2010 11:57:32 +0100 demandimport: ignore _winreg (used in python-2.7 mimetypes) stable
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 13 Jan 2010 11:57:32 +0100] rev 10242
demandimport: ignore _winreg (used in python-2.7 mimetypes)
Tue, 12 Jan 2010 22:20:21 +0100 shrink-revlog: add --dry-run option
Patrick Mezard <pmezard@gmail.com> [Tue, 12 Jan 2010 22:20:21 +0100] rev 10241
shrink-revlog: add --dry-run option
Sun, 10 Jan 2010 18:13:34 +0100 cmdutil: hide child window created by win32 spawndetached()
Patrick Mezard <pmezard@gmail.com> [Sun, 10 Jan 2010 18:13:34 +0100] rev 10240
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.
Wed, 06 Jan 2010 21:11:58 +0100 Find right hg command for detached process
Patrick Mezard <pmezard@gmail.com> [Wed, 06 Jan 2010 21:11:58 +0100] rev 10239
Find right hg command for detached process On Windows, Mercurial can be run from the python script of from a frozen executable. In the first case, we have to call the python interpreter since the script is not executable. Frozen executable can be called directly. Fix 3/3 for issue421
Wed, 06 Jan 2010 21:11:58 +0100 cmdutil: replace unix pipe handshake with file lock
Patrick Mezard <pmezard@gmail.com> [Wed, 06 Jan 2010 21:11:58 +0100] rev 10238
cmdutil: replace unix pipe handshake with file lock The pipe handshake cannot be implemented with Windows detached process, which disables handle inheritance. Fix 2/3 for issue421
Fri, 10 Apr 2009 21:20:25 +0200 serve: add and use portable spawnvp replacement
Patrick Mezard <pmezard@gmail.com> [Fri, 10 Apr 2009 21:20:25 +0200] rev 10237
serve: add and use portable spawnvp replacement There is no standard python command to really detach a process under Windows. Instead we use the low level API wrapped by subprocess module with all necessary options to avoid any kind of context inheritance. Unfortunately, this version still opens a new window for the child process. The following have been tried: - os.spawnv(os.P_NOWAIT): works but the child process is killed when parent console terminates. - os.spawnv(os.P_DETACH): works on python25, hang on python26 when writing to the hgweb output socket. - subprocess.CreateProcess() hack without shell mode: similar to os.spawnv(os.P_DETACH). Fix 1/3 for issue421
(0) -10000 -3000 -1000 -300 -100 -30 -10 -8 +8 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip