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
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
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
Greg Ward <greg-hg@gerg.ca> [Tue, 12 Jan 2010 15:12:53 +0100] rev 10236
shrink-revlog: help/doc tweaks
- make it look right in 'hg help extensions'
- clarify --revlog option
- add a main program to tell users this is no longer a standalone script
Pascal Quantin <pascal.quantin@gmail.com> [Thu, 07 Jan 2010 23:04:53 +0100] rev 10235
Add shrink-revlog.py to win32 installer
Patrick Mezard <pmezard@gmail.com> [Mon, 11 Jan 2010 21:15:53 +0100] rev 10234
shrink-revlog: make it work on windows (
issue1976)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 11 Jan 2010 22:41:49 +0100] rev 10233
merge main with stable
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 11 Jan 2010 22:41:24 +0100] rev 10232
merge crew together
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 11 Jan 2010 22:41:02 +0100] rev 10231
merge stable together
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 11 Jan 2010 21:45:28 +0100] rev 10230
merge with stable
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 11 Jan 2010 21:44:04 +0100] rev 10229
shrink-revlog: avoid cryptic error when used as an extension
When shrink-revlog is used as an extension, it would produce an error when
switching back to stable because the script will try to execute itself.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 11 Jan 2010 21:40:19 +0100] rev 10228
transaction: initialize self.journal to None after deletion
This avoid a warning when having an empty transaction, where hg would try to
delete the journal twice.
Jens Bäckman <jens.backman@gmail.com> [Sat, 09 Jan 2010 23:12:21 +0100] rev 10227
subrepo: fix typo in help text
Martin Geisler <mg@lazybytes.net> [Sat, 09 Jan 2010 23:16:48 +0100] rev 10226
Merge with stable
Martin Geisler <mg@lazybytes.net> [Sat, 09 Jan 2010 23:16:36 +0100] rev 10225
relink: ensure consistent candidate order
Jens Bäckman <jens.backman@gmail.com> [Sat, 09 Jan 2010 23:03:33 +0100] rev 10224
commands: fix typo in help text
Georg Brandl <georg@python.org> [Sat, 09 Jan 2010 10:47:47 +0100] rev 10223
color: colorize output of hg resolve -l
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 08 Jan 2010 20:56:28 +0100] rev 10222
color: improve coding style
Patrick Mezard <pmezard@gmail.com> [Sat, 09 Jan 2010 00:25:56 +0100] rev 10221
Merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Fri, 08 Jan 2010 23:15:24 +0100] rev 10220
ui: display progress with decimal notation
Patrick Mezard <pmezard@gmail.com> [Fri, 08 Jan 2010 23:15:22 +0100] rev 10219
win32: close file when leaving _getfileinfo()
Siddharth Agarwal <sid.bugzilla@gmail.com> [Fri, 08 Jan 2010 18:48:39 +0530] rev 10218
Add support for relinking on Windows.
Test and minor code change by Patrick Mézard <pmezard@gmail.com>
Patrick Mezard <pmezard@gmail.com> [Fri, 08 Jan 2010 22:30:07 +0100] rev 10217
Add test for relink extension
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 07 Jan 2010 16:06:36 +0100] rev 10216
contrib: small documentation fixes in shrink-revlog.py
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 07 Jan 2010 16:06:12 +0100] rev 10215
contrib: turn shrink-revlog.py into an extension
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 07 Jan 2010 15:12:16 +0100] rev 10214
contrib: fix error handling in shrink-revlog.py to be more hg-like
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 07 Jan 2010 15:07:18 +0100] rev 10213
contrib: use ui to write in shrink-revlog.py
Martin Geisler <mg@lazybytes.net> [Tue, 05 Jan 2010 22:41:39 +0100] rev 10212
Merge with stable.