Mercurial > hg
changeset 20303:3a3731a60354
test-import-merge: mangle file in binary mode
This should fix a test breakage on Windows.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 20 Jan 2014 17:09:20 -0600 |
parents | 654dd8284ead |
children | e457321a5687 |
files | tests/test-import-merge.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-import-merge.t Sun Jan 19 22:58:33 2014 -0600 +++ b/tests/test-import-merge.t Mon Jan 20 17:09:20 2014 -0600 @@ -130,7 +130,7 @@ $ hg ci -m3 $ hg export 2 | head -7 > ../a.patch $ hg export tip > out - >>> apatch = open("../a.patch", "a") + >>> apatch = open("../a.patch", "ab") >>> apatch.write("".join(open("out").readlines()[7:])) $ cd ..