Mercurial > hg
view tests/test-inotify.out @ 9896:2c2f7593ffc4 stable
cmdutil.service: do not _exit(0) in the parent process
The fact that a parent process spawns a daemon does not necessarily means that
it is the only think it has to do. This was forcing since 7c01599dd340 inotify
processes launched implicitely to exit prematurely:
when no inotify server was running, "hg st" for example would only launch a
inotify server, _exit(0) and thus would not return file statuses.
This changeset adds a test for implicitely launched inotify processes.
Change to output of test-inotify-1208 is correct: it reflects the normal
error message of "hg st" when not dying during "hg inserve" daemon creation.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Tue, 17 Nov 2009 15:00:00 +0900 |
parents | 95e1867f765b |
children | 8939900073a8 |
line wrap: on
line source
adding a adding b adding c adding d adding dir/bar/foo adding dir/x adding dir/y adding e updating to branch default 8 files updated, 0 files merged, 0 files removed, 0 files unresolved M a % inserve ? hg.pid % clean C a C b C c C d C dir/bar/foo C dir/x C dir/y C e % all ? hg.pid C a C b C c C d C dir/bar/foo C dir/x C dir/y C e % path patterns M dir/x ? hg.pid M dir/x M x % issue 1375 adding h/h adding hg.pid removing h/h A h R h/h M a merging a 1 files updated, 1 files merged, 2 files removed, 0 files unresolved M a 3 files updated, 1 files merged, 0 files removed, 0 files unresolved M a adding 1844/foo