(stable) merge stable
authorChristian Ebert <blacktrash@gmx.net>
Sat, 01 May 2010 23:18:42 +0200
branchstable
changeset 744 62bfb4b0c1ea
parent 741 e5bfe51eeea9 (current diff)
parent 743 f2e3829bfbf0 (diff)
child 746 72a272f1f756
(stable) merge
--- a/tests/test-keyword	Thu Apr 29 22:04:05 2010 -0500
+++ b/tests/test-keyword	Sat May 01 23:18:42 2010 +0200
@@ -143,10 +143,8 @@
 cat a c
 
 echo % record
-cp "$HGRCPATH" $HGRCPATH.bak
-sed -e '1 a \foo' a > a.tmp
-mv a.tmp a
-echo bar >> a
+python -c \
+'l=open("a").readlines();l.insert(1,"foo\n");l.append("bar\n");open("a","w").writelines(l);'
 hg record -d '1 10' -m rectest<<EOF
 y
 y