Mercurial > hg
view tests/test-1102 @ 9152:4017291c4c48
tags: support 'instant' tag retrieval (issue548)
- modify _readtagcache() and _writetagcache() to read/write tag->node
mapping for global tags
- if (and only if) tip unchanged, use that cached mapping to avoid
reading any revisions of .hgtags
- change so tag names are UTF-8 in memory in tags.py, and converted to
local encoding as late as possible (in localrepository._findtags())
author | Greg Ward <greg-hg@gerg.ca> |
---|---|
date | Thu, 16 Jul 2009 10:41:19 -0400 |
parents | 938eddd76237 |
children |
line wrap: on
line source
#!/bin/sh rm -rf a hg init a cd a echo a > a hg ci -Am0 hg tag t1 # 1 hg tag --remove t1 # 2 hg co 1 hg tag -r0 t1 hg tags