comparison tests/test-merge1.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 545ec1775021
children ffb5c09ba822
comparison
equal deleted inserted replaced
13438:48463d889d4e 13439:d724a69309e0
70 $ hg merge 1 70 $ hg merge 1
71 abort: untracked file in working directory differs from file in requested revision: 'b' 71 abort: untracked file in working directory differs from file in requested revision: 'b'
72 [255] 72 [255]
73 merge of b expected 73 merge of b expected
74 $ hg merge -f 1 74 $ hg merge -f 1
75 merging b
75 merging for b 76 merging for b
76 merging b
77 0 files updated, 1 files merged, 0 files removed, 0 files unresolved 77 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
78 (branch merge, don't forget to commit) 78 (branch merge, don't forget to commit)
79 $ hg diff --nodates 79 $ hg diff --nodates
80 diff -r 49035e18a8e6 b 80 diff -r 49035e18a8e6 b
81 --- /dev/null 81 --- /dev/null
151 $ hg merge 2 151 $ hg merge 2
152 abort: outstanding uncommitted changes (use 'hg status' to list changes) 152 abort: outstanding uncommitted changes (use 'hg status' to list changes)
153 [255] 153 [255]
154 merge of b expected 154 merge of b expected
155 $ hg merge -f 2 155 $ hg merge -f 2
156 merging b
156 merging for b 157 merging for b
157 merging b
158 0 files updated, 1 files merged, 0 files removed, 0 files unresolved 158 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
159 (branch merge, don't forget to commit) 159 (branch merge, don't forget to commit)
160 $ hg diff --nodates 160 $ hg diff --nodates
161 diff -r 85de557015a8 b 161 diff -r 85de557015a8 b
162 --- a/b 162 --- a/b