##// END OF EJS Templates
Issue919: add a standard extension to recreate hardlinks between repositories....
Issue919: add a standard extension to recreate hardlinks between repositories. Having to run a standalone Python script from the contrib dir is a nuisance. Also makes various improvements to locking, file discovery, etc. Should also update: http://www.selenic.com/mercurial/wiki/index.cgi/RecreateHardlinksBetweenRepositories

File last commit:

r8470:dd24488c default
r9729:aa9ccab5 default
Show More
test-convert-bzr.out
89 lines | 1.8 KiB | text/plain | TextLexer
/ tests / test-convert-bzr.out
Marek Kubica
convert: add bzr source
r7053 % create and rename on the same file in the same step
a => b
Patrick Mezard
test-convert-bzr: check renamed files are removed (issue1505)
r8036 c => d
Patrick Mezard
convert/bzr: fix file rename replaced by a dir case (issue1583)...
r8045 e => f
Marek Kubica
convert: add bzr source
r7053 initializing destination source-hg repository
scanning source...
sorting...
converting...
Patrick Mezard
convert/bzr: fix file rename replaced by a dir case (issue1583)...
r8045 1 Initial add: a, c, e
Patrick Mezard
test-convert-bzr: check renamed files are removed (issue1505)
r8036 0 rename a into b, create a, rename c into d
Patrick Mezard
convert/bzr: fix file rename replaced by a dir case (issue1583)...
r8045 o 1 "rename a into b, create a, rename c into d" files: a b c d e f
Marek Kubica
convert: add bzr source
r7053 |
Patrick Mezard
convert/bzr: fix file rename replaced by a dir case (issue1583)...
r8045 o 0 "Initial add: a, c, e" files: a c e
Marek Kubica
convert: add bzr source
r7053
Patrick Mezard
test-convert-bzr: check renamed files are removed (issue1505)
r8036 % manifest
a
b
d
Patrick Mezard
convert/bzr: fix file rename replaced by a dir case (issue1583)...
r8045 f
Marek Kubica
convert: add bzr source
r7053 % test --rev option
initializing destination source-1-hg repository
scanning source...
sorting...
converting...
Patrick Mezard
convert/bzr: fix file rename replaced by a dir case (issue1583)...
r8045 0 Initial add: a, c, e
o 0 "Initial add: a, c, e" files: a c e
Marek Kubica
convert: add bzr source
r7053
Patrick Mezard
convert/bzr: make it work with filemaps (issue1631)...
r8165 % test with filemap
initializing destination source-filemap-hg repository
scanning source...
sorting...
converting...
1 Initial add: a, c, e
0 rename a into b, create a, rename c into d
b
d
f
Patrick Mezard
convert/bzr: warn when source is a lightweight checkout (issue1647)
r8470 % convert from lightweight checkout
initializing destination source-light-hg repository
warning: lightweight checkouts may cause conversion failures, try with a regular branch instead.
scanning source...
sorting...
converting...
1 Initial add: a, c, e
0 rename a into b, create a, rename c into d
% lightweight manifest
a
b
d
f
Greg Ward
convert/bzr: handle Bazaar timestamps correctly (issue1652).
r8305 % compare timestamps
good: hg timestamps match bzr timestamps
Marek Kubica
convert: add bzr source
r7053 % 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
Patrick Mezard
convert/bzr: fix symlink handling (issue1626)
r8148 644 @ altname
644 d/a
Marek Kubica
convert: add bzr source
r7053 755 * program
Patrick Mezard
convert/bzr: fix symlink handling (issue1626)
r8148 644 @ syma
Marek Kubica
convert: add bzr source
r7053 % manifest of tip
Patrick Mezard
convert/bzr: fix symlink handling (issue1626)
r8148 644 @ altname
644 d/a
Marek Kubica
convert: add bzr source
r7053 755 * newprog
644 program
Patrick Mezard
convert/bzr: fix symlink handling (issue1626)
r8148 644 @ syma
Patrick Mezard
convert/bzr: fix symlinks target (issue1626/2)
r8423 % test the symlinks can be recreated
5 files updated, 0 files merged, 0 files removed, 0 files unresolved
a