Lightweight copy

tekHedd tekhedd at byteheaven.net
Mon May 7 21:49:32 UTC 2007


TK Soh wrote:
> I am guessing a significant portion of renames, especially on the 
> directories, happen as second thought, so there's a good chance that
>  a lot of files will only contain one revision. It'd be nice if Hg
> can somehow create a link info in the new revlog that reference back
> to old revlog instead.

Nice, agreed. Not sure if it would be worth the additional complexity
(additional risk and maintenance) or overhead.

I only seem to rename files when I screw up my initial checkin, which
shouldn't be an issue as nobody is forcing me to push. However, I
suppose you could really bloat your database if you do a lot of
refactoring, or if a peer just doesn't care about getting it right the
first time.

Sounds like a real pain to implement and maintain, though.

tom
-- 
tekhedd at byteheaven.net    )                 ,~~v~~,
http://byteheaven.com/    )                ,`.   .`,
     ICQ:286480268        ) ------------- ===  +  === ---------
A:tekhedd   Y:tekhedd2003 )  No, I will not fix your computer.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20070507/34832fce/attachment-0001.asc>


More information about the Mercurial mailing list