Mercurial > hg
view tests/test-remove-new.t @ 12135:b6cc68ef2702
test-serve: ensure KILLQUIETLY is only used once
49463314c24f introduced a feature to the hgserve() function that
suppresses errors from kill(1). It wrongly assumed that setting an
environment variable when calling a function would make it local to
the function. It ended up suppressing kill errors for every call
thereafter.
This patch sets KILLQUIETLY=N after use.
author | Brodie Rao <brodie@bitheap.org> |
---|---|
date | Mon, 30 Aug 2010 11:16:21 -0400 |
parents | 4d6bb7615564 |
children | 4c94b6d0fb1c |
line wrap: on
line source
test that 'hg commit' does not crash if the user removes a newly added file $ hg init $ echo This is file a1 > a $ hg add a $ hg commit -m "commit #0" -d "1000000 0" $ touch b $ hg add b $ rm b $ hg commit -A -m"comment #1" -d "1000000 0" removing b nothing changed $ exit 0