changeset 15767:d85ecaf3e833

tests: ensure platform independent revision hashes in test-notify.t Makes the test pass again on windows after ca572e94d8e7.
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 26 Dec 2011 16:54:43 +0100
parents 8e1854807dc2
children cdf9c43445df
files tests/test-notify.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-notify.t	Mon Dec 26 16:57:14 2011 +0100
+++ b/tests/test-notify.t	Mon Dec 26 16:54:43 2011 +0100
@@ -412,7 +412,7 @@
   > test = False
   > mbox = mbox
   > EOF
-  $ python -c 'print "no" * 500' >> a/a
+  $ python -c 'file("a/a", "ab").write("no" * 500 + "\n")'
   $ hg --cwd a commit -A -m "long line"
   $ hg --traceback --cwd b pull ../a
   pulling from ../a