view tests/test-convert-svn-tags.out @ 7654:816b708f23af

store all heads of a branch in the branch cache All heads of branches will be stored in a new cache file 'branchheads.cache' within the .hg directory. The old 'branch.cache' file from older versions will be ignored. The new cache contents are formatted line-by-line as '{node} {branchtag}\n'. This is the same as the previous format. Now, every head is recorded in an oldest -> tipmost order. The localrepo.branchheads function is reworked to use the data from the cache.
author John Mulligan <phlogistonjohn@asynchrono.us>
date Wed, 14 Jan 2009 21:47:38 -0500
parents 90d8dfb481e7
children 965b11c1bd82
line wrap: on
line source

% convert
initializing destination A-hg repository
scanning source...
sorting...
converting...
4 init projA
3 adda
2 changea
1 changea2
0 changea3
updating tags
o  5 update tags tags: tip
|
o  4 changea3 tags:
|
o  3 changea2 tags: trunk.v1 trunk.goodtag
|
o  2 changea tags:
|
o  1 adda tags:
|
o  0 init projA tags:

tip
trunk.v1
trunk.goodtag
% convert without tags
initializing destination A-notags-hg repository
scanning source...
sorting...
converting...
4 init projA
3 adda
2 changea
1 changea2
0 changea3
tip