view tests/test-convert-bzr.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 209ef5f3534c
children dbcf5d52fcf5
line wrap: on
line source

% create and rename on the same file in the same step
a => b
initializing destination source-hg repository
scanning source...
sorting...
converting...
1 Initial add: a
0 rename a into b, create a
o  1 "rename a into b, create a" files: a b
|
o  0 "Initial add: a" files: a

% test --rev option
initializing destination source-1-hg repository
scanning source...
sorting...
converting...
0 Initial add: a
o  0 "Initial add: a" files: a

% merge
initializing destination source-hg repository
scanning source...
sorting...
converting...
3 Initial add
2 Editing a
1 Editing b
0 Merged improve branch
o    3 "Merged improve branch" files:
|\
| o  2 "Editing b" files: b
| |
o |  1 "Editing a" files: a
|/
o  0 "Initial add" files: a b

% symlinks and executable files
initializing destination source-hg repository
scanning source...
sorting...
converting...
1 Initial setup
0 Symlink changed, x bits changed
% manifest of 0
644   altname
755 * program
% manifest of tip
644   altname
755 * newprog
644   program