##// END OF EJS Templates
use posix compliant option for head...
Benoit Boissinot -
r1539:5e47e42b default
parent child Browse files
Show More
@@ -1,23 +1,23 b''
1 1 #!/bin/sh
2 2
3 3 mkdir t
4 4 cd t
5 5 hg init
6 6 echo import > port
7 7 hg add port
8 8 hg commit -m 0 -u spam -d '0 0'
9 9 echo export >> port
10 10 hg commit -m 1 -u eggs -d '1 0'
11 11 echo export > port
12 12 echo vaportight >> port
13 13 echo 'import/export' >> port
14 14 hg commit -m 2 -u spam -d '2 0'
15 15 echo 'import/export' >> port
16 16 hg commit -m 3 -u eggs -d '3 0'
17 head -3 port > port1
17 head -n 3 port > port1
18 18 mv port1 port
19 19 hg commit -m 4 -u spam -d '4 0'
20 20 hg grep port port
21 21 echo 'FIXME: history is wrong here'
22 22 hg grep --all -nu port port
23 23 hg grep import port
General Comments 0
You need to be logged in to leave comments. Login now