tests/test-relink.out
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Sun, 07 Mar 2010 23:59:28 +0100
changeset 10606 5868dd69fb03
parent 10220 500d09be7ace
child 10698 e930017f9e2a
permissions -rw-r--r--
addremove: atomically update the dirstate In case someone hits ^C during the similarity search, properly rollback

% create source repository
adding a
adding b
% clone and pull to break links
requesting all changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 2 changes to 2 files
updating to branch default
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
created new head
% relink
relinking .hg/store
collected 5 candidate storage files
not linkable: 00changelog.i
not linkable: 00manifest.i
not linkable: data/b.i
pruned down to 2 probably relinkable files
relink: data/a.i 1/2  files (50.00%)
not linkable: data/dummy.i
relinked 1 files (136 bytes reclaimed)
% check hardlinks
repo/.hg/store/data/a.i == clone/.hg/store/data/a.i
repo/.hg/store/data/b.i != clone/.hg/store/data/b.i