Lightweight copy

Guido Ostkamp hg at ostkamp.fastmail.fm
Sun May 6 12:29:03 UTC 2007


> The most recent revision of the file or all the files in the directory 
> is copied, and it remembers where each file was copied from so that it 
> can merge changes across file renames.

thanks, but this is not what I meant.

I just did some experiments. My repository (after removal of working copy) 
has a size of 442 MB. When I "hg copy dir1 dir2; hg commit" where dir1 has 
everything in it, then (again after removal of the working copy) the size 
of the repository has increased to 825 MB.

This certainly means that Mercurial does not use lightweight copies.

If I do this in Subversion (SVN), there is nearly no increase in size of 
the repository.

Regards

Guido



More information about the Mercurial mailing list