##// END OF EJS Templates
fix test-tag on Solaris
Thomas Arendsen Hein -
r4933:5fb8f599 default
parent child Browse files
Show More
@@ -29,14 +29,18 b" newline'"
29 hg tag -l 'xx:xx'
29 hg tag -l 'xx:xx'
30
30
31 echo % issue 601
31 echo % issue 601
32 mv .hg/localtags .hg/ltags
32 python << EOF
33 head -1 .hg/ltags | tr -d '\n' > .hg/localtags
33 f = file('.hg/localtags'); last = f.readlines()[-1][:-1]; f.close()
34 f = file('.hg/localtags', 'w'); f.write(last); f.close()
35 EOF
34 cat .hg/localtags
36 cat .hg/localtags
35 hg tag -l localnewline
37 hg tag -l localnewline
36 cat .hg/localtags
38 cat .hg/localtags
37
39
38 mv .hgtags hgtags
40 python << EOF
39 head -1 hgtags | tr -d '\n' > .hgtags
41 f = file('.hgtags'); last = f.readlines()[-1][:-1]; f.close()
42 f = file('.hgtags', 'w'); f.write(last); f.close()
43 EOF
40 hg ci -d '1000000 0' -m'broken manual edit of .hgtags'
44 hg ci -d '1000000 0' -m'broken manual edit of .hgtags'
41 cat .hgtags
45 cat .hgtags
42 hg tag -d '1000000 0' newline
46 hg tag -d '1000000 0' newline
General Comments 0
You need to be logged in to leave comments. Login now