Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-tags @ 4143:26314500a5e1
Don't truncate tag and branch names after 30 chars (introduced 73860ffbe798)
with test added for a long (local) tag name.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 05 Mar 2007 19:48:21 +0100 |
parents | 7f7425306925 |
children | e29f2db5ab18 |
comparison
equal
deleted
inserted
replaced
4142:ba3e13306f70 | 4143:26314500a5e1 |
---|---|
8 hg add a | 8 hg add a |
9 hg commit -m "test" -d "1000000 0" | 9 hg commit -m "test" -d "1000000 0" |
10 hg co | 10 hg co |
11 hg identify | 11 hg identify |
12 T=`hg tip --debug | head -n 1 | cut -d : -f 3` | 12 T=`hg tip --debug | head -n 1 | cut -d : -f 3` |
13 hg tag -l "This is a local tag with a really long name!" | |
14 hg tags | |
15 rm .hg/localtags | |
13 echo "$T first" > .hgtags | 16 echo "$T first" > .hgtags |
14 cat .hgtags | 17 cat .hgtags |
15 hg add .hgtags | 18 hg add .hgtags |
16 hg commit -m "add tags" -d "1000000 0" | 19 hg commit -m "add tags" -d "1000000 0" |
17 hg tags | 20 hg tags |