Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-tags @ 1986:719cf07b076d
add checking for invalid entries in tag files
safely parse the differents tag files, output warning
when parsing an invalid entry.
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Wed, 22 Mar 2006 05:30:47 +0100 |
parents | 7544700fd931 |
children | e506c14382fd |
comparison
equal
deleted
inserted
replaced
1985:c577689006fa | 1986:719cf07b076d |
---|---|
29 hg id | 29 hg id |
30 hg co -m 1 | 30 hg co -m 1 |
31 hg id | 31 hg id |
32 hg status | 32 hg status |
33 | 33 |
34 hg commit -m "merge" -d "1000000 0" | |
35 # invalid tags | |
36 echo "spam" >> .hgtags | |
37 echo >> .hgtags | |
38 echo "foo bar" >> .hgtags | |
39 echo "$T invalid" | sed "s/..../a5a5/" >> .hg/localtags | |
40 hg commit -m "tags" -d "1000000 0" | |
41 hg tags | |
42 hg tip | |
43 |