Mercurial > hg
comparison tests/test-tags.out @ 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 | f528d1a93491 |
children | 9ff178e7b627 |
comparison
equal
deleted
inserted
replaced
9151:f528d1a93491 | 9152:4017291c4c48 |
---|---|
44 .hgtags@75d9f02dfe28, line 4: node 'foo' is not well formed | 44 .hgtags@75d9f02dfe28, line 4: node 'foo' is not well formed |
45 .hgtags@c4be69a18c11, line 2: node 'x' is not well formed | 45 .hgtags@c4be69a18c11, line 2: node 'x' is not well formed |
46 tip 8:c4be69a18c11 | 46 tip 8:c4be69a18c11 |
47 first 0:acb14030fe0a | 47 first 0:acb14030fe0a |
48 changeset: 8:c4be69a18c11 | 48 changeset: 8:c4be69a18c11 |
49 .hgtags@75d9f02dfe28, line 2: cannot parse entry | |
50 .hgtags@75d9f02dfe28, line 4: node 'foo' is not well formed | |
51 .hgtags@c4be69a18c11, line 2: node 'x' is not well formed | |
52 tag: tip | 49 tag: tip |
53 parent: 3:ac5e980c4dc0 | 50 parent: 3:ac5e980c4dc0 |
54 user: test | 51 user: test |
55 date: Thu Jan 01 00:00:00 1970 +0000 | 52 date: Thu Jan 01 00:00:00 1970 +0000 |
56 summary: head | 53 summary: head |
78 bbd179dfa0a71671c253b3ae0aa1513b60d199fa bar | 75 bbd179dfa0a71671c253b3ae0aa1513b60d199fa bar |
79 .hg/tags.cache: | 76 .hg/tags.cache: |
80 4 0c192d7d5e6b78a714de54a2e9627952a877e25a 0c04f2a8af31de17fab7422878ee5a2dadbc943d | 77 4 0c192d7d5e6b78a714de54a2e9627952a877e25a 0c04f2a8af31de17fab7422878ee5a2dadbc943d |
81 3 6fa450212aeb2a21ed616a54aea39a4a27894cd7 7d3b718c964ef37b89e550ebdafd5789e76ce1b0 | 78 3 6fa450212aeb2a21ed616a54aea39a4a27894cd7 7d3b718c964ef37b89e550ebdafd5789e76ce1b0 |
82 2 7a94127795a33c10a370c93f731fd9fea0b79af6 0c04f2a8af31de17fab7422878ee5a2dadbc943d | 79 2 7a94127795a33c10a370c93f731fd9fea0b79af6 0c04f2a8af31de17fab7422878ee5a2dadbc943d |
80 | |
81 78391a272241d70354aa14c874552cad6b51bb42 bar | |
83 % test tag removal | 82 % test tag removal |
84 changeset: 5:5f6e8655b1c7 | 83 changeset: 5:5f6e8655b1c7 |
85 tag: tip | 84 tag: tip |
86 user: test | 85 user: test |
87 date: Thu Jan 01 00:00:00 1970 +0000 | 86 date: Thu Jan 01 00:00:00 1970 +0000 |