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

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

[Gnu-arch-users] Re: [BUG] feature plan -- Selected inventory


From: Stefan Monnier
Subject: [Gnu-arch-users] Re: [BUG] feature plan -- Selected inventory
Date: 31 May 2004 21:47:23 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> But now if I'm computing a changeset:  files may appear in the
> selected part of MOD that were absent in ORIG or they may be ORIG but
> not in MOD.   Are those adds and deletes?  Or are they renames from
> and to some non-selected part of the tree?   The only way to tell is
> to inventory all of ORIG and all of MOD.

If using names tagging (or if the new file is in {arch}), you don't need the
inventory to know it's really an add (or a delete).

Otherwise, for an apparent add, you still don't need a full inventory to
decide whether it's an add or a move since looking at the ,,index file in
the revision library allows you to figure it out easily.

And if it's a remove, well, OK you probably need a full inventory for
that case.  But that still doesn't justify a full inventory all the time:
a full inventory is only justified when the small inventory indicates that
there has been an apparent file removal.  Although I'd be just as happy if
tla assumed it really was a file removal.


        Stefan




reply via email to

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