space waste when renaming large files
Leo Razoumov
slonik.az at gmail.com
Wed May 30 13:25:26 UTC 2007
On 5/30/07, Andrea Arcangeli <andrea at suse.de> wrote:
> On Thu, May 03, 2007 at 06:50:39AM -0400, Leo Razoumov wrote:
> > Is it possible (in spirit of git) to have a single revlog object that
> > represents a file object across renames? The way it is now, "hg
> > rename" is a very expensive operation for large files.
>
> The rename should only tell hg that the working copy file name has
> changed but the revlog backing store didn't. In most projects it
> doesn't matter much, but it certainly sounds the only real missing
> feature in hg today.
I fully agree. But it will require decoupling of file contents from
file names and having "contents addressable revlog" so that manifest
can reference it in association with its current (and volatile) name.
It means that Hg becomes more and more git-like (good thing IMHO)
--Leo--
More information about the Mercurial
mailing list