gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: Why we might use subversion instead of arch.


From: Aaron Bentley
Subject: Re: [Gnu-arch-users] Re: Why we might use subversion instead of arch.
Date: Fri, 27 Feb 2004 20:01:07 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4

Charles Duffy wrote:

(Re _why_ revlibs are still useful in cases like yours, I'll leave that
to someone like Tom who's more qualified to answer).
Well, I'm not like Tom, but...
There's one case where we can be *absolutely* certain that two files are identical from the file info alone-- the case where the files are hard-links of one another. If your working directory is hard-linked to a revision library, this means that we can determine which files are unchanged without even looking at the inode signatures.

(That's in the 1.2 release.)

One non-linked revision takes up about the same space as a pristine. A hard-linked revision takes much less (just the cost of unlinkables like directories). Additional revisions have a similar cost.

Plus, revlibs aren't in your tree, so they don't confuse find, grep, and other standard unix tools.

A lot of work has been done already to let revlibs work everywhere that pristines do. Now Tom's talking about replacing pristines with "sliding revlibs", which would be like the LRU pruning Miles mentioned.

(In the meantime, James Blackwell has a pruning script in tlacontrib.)

Aaron




reply via email to

[Prev in Thread] Current Thread [Next in Thread]