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

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

Re: [Gnu-arch-users] Retrieving per-file data from csets/revs


From: David Allouche
Subject: Re: [Gnu-arch-users] Retrieving per-file data from csets/revs
Date: Tue, 2 Dec 2003 12:11:05 +0100
User-agent: Mutt/1.5.4i

On Mon, Dec 01, 2003 at 04:52:54PM +0300, Samium Gromoff wrote:
> 
> For the reasons i pursue, it would be rather cool to have
> certain retrieval functions in tla, namely:
> 
>       - tla cset-file-diff $FILENAME
>       - tla rev-file-diff $FILENAME
> 
> So that i can easily see what have been changed in a particular file
> for a given revision/cset.
> 
> Is this somehow misguided/worth implementing?

What is the intended difference between these two commands?

As far as I can see, this would not increase much the expressivenesse of
the tla command set.

Since archive changesets are stored as tar.gz files, you need at least
to spawn a gz|tar pipe. What you can win is a bit of disk i/o and space
(and maybe a bit of CPU) by not expanding the full changeset tarball.
Anyway, since most changesets you actually want to look into are small,
the savings are negligible in real-life cases.

And in the case of remote archives, it is definitely a better thing to
retrieve all of the changeset in a cache and work there, because you do
not want to bear with network latency for every diff you look into.

But maybe I am missing some use cases...

-- 
                                                            -- ddaa




reply via email to

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