##// END OF EJS Templates
Don't hard-code /tmp in test-ro-message...
Alexis S. L. Carvalho -
r1738:f293ad87 default
parent child Browse files
Show More
@@ -1,17 +1,17
1 #!/bin/sh
1 #!/bin/sh
2 HG=hg
2 HG=hg
3 "$HG" init
3 "$HG" init
4 mkdir b
4 mkdir b
5 echo 'Bouncy' >b/bouncy
5 echo 'Bouncy' >b/bouncy
6 echo 'tricycle' >b/vehicle
6 echo 'tricycle' >b/vehicle
7 "$HG" add b/bouncy
7 "$HG" add b/bouncy
8 "$HG" add b/vehicle
8 "$HG" add b/vehicle
9 "$HG" commit -m 'Adding bouncy'
9 "$HG" commit -m 'Adding bouncy'
10 echo 'bouncy' >>b/bouncy
10 echo 'bouncy' >>b/bouncy
11 "$HG" commit -m 'Making it bouncier'
11 "$HG" commit -m 'Making it bouncier'
12 "$HG" update -C 0
12 "$HG" update -C 0
13 echo 'stationary' >>b/vehicle
13 echo 'stationary' >>b/vehicle
14 "$HG" commit -m 'Clarifying the vehicle.'
14 "$HG" commit -m 'Clarifying the vehicle.'
15 "$HG" update -C 1
15 "$HG" update -C 1
16 chmod a-w b/vehicle
16 chmod a-w b/vehicle
17 "$HG" update -m 2 2>&1 | sed 's|^\(.*[ ]\)/tmp/[^/]*/\(.*\)$|\1\2|g'
17 "$HG" update -m 2 2>&1 | sed 's|^\(.*[ ]\).*/\([^/]*/[^/]*/[^/]*\)$|\1\2|g'
General Comments 0
You need to be logged in to leave comments. Login now