On Sat, Feb 18, 2006 at 04:35:49PM -0500, Max Battcher wrote:
> In iterating through ``darcs changes``, can I assume everything earlier 
> than a Tag to be "frozen" and unlikely to change?  What would be the 
> circumstances for such change?

If the tag was pulled it will not necessarily cover everything
that comes earlier.  For example, if I pull up to tag 0.1,
then record a private patch p1 and make a private tag t1, and
finally pull up to tag 0.2, p1 and t1 is not frozen by tag 0.2
in that I can obliterate them without obliterating tag 0.2,
which changes the context of the patches from the last pull.
Also, if only p1 but not t1 is created, an optimize --reorder
will move p1 to after tag 0.2.

>                                 Can I assume upon reaching another 
> earlier tag that it is wholly included in the context of the later tag? 

Hmm, "context of the tag" is ambiguous.  The context in which
the tag appears is per definition everything that comes before
it.  But what you surely mean is if the earlier tag is in the
context tagged by the later tag, and the answer to that is:
no, not necessarily.  What comes after a tag is guaranteed
not to be included in the tag, but not the other way around.


-- 
Tommy Pettersson <[EMAIL PROTECTED]>

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to