Mercurial > hg
comparison tests/test-static-http.t @ 13439:d724a69309e0 stable
util: flush stdout before calling external processes
stdout could have content in its buffer while a subprocess ran and emitted
output.
Flushing stdout ensures that output now comes in the right order.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 18 Feb 2011 03:35:01 +0100 |
parents | 682edefe7dbb |
children | 286a3720d472 |
comparison
equal
deleted
inserted
replaced
13438:48463d889d4e | 13439:d724a69309e0 |
---|---|
66 $ rm .hg/cache/* | 66 $ rm .hg/cache/* |
67 $ cd ../local | 67 $ cd ../local |
68 $ echo '[hooks]' >> .hg/hgrc | 68 $ echo '[hooks]' >> .hg/hgrc |
69 $ echo 'changegroup = python "$TESTDIR"/printenv.py changegroup' >> .hg/hgrc | 69 $ echo 'changegroup = python "$TESTDIR"/printenv.py changegroup' >> .hg/hgrc |
70 $ hg pull | 70 $ hg pull |
71 changegroup hook: HG_NODE=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_SOURCE=pull HG_URL=http://localhost:$HGPORT/remote | |
72 pulling from static-http://localhost:$HGPORT/remote | 71 pulling from static-http://localhost:$HGPORT/remote |
73 searching for changes | 72 searching for changes |
74 adding changesets | 73 adding changesets |
75 adding manifests | 74 adding manifests |
76 adding file changes | 75 adding file changes |
77 added 1 changesets with 1 changes to 1 files | 76 added 1 changesets with 1 changes to 1 files |
77 changegroup hook: HG_NODE=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_SOURCE=pull HG_URL=http://localhost:$HGPORT/remote | |
78 (run 'hg update' to get a working copy) | 78 (run 'hg update' to get a working copy) |
79 | 79 |
80 trying to push | 80 trying to push |
81 | 81 |
82 $ hg update | 82 $ hg update |