Tommy Pettersson wrote:
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.

All of that makes sense, thanks. Is there anyway to get something like "absolute contexts", then?

Any good suggestions, then, on how to approach handling the ordering of patches without calling darcs every time?

I'm hoping to come up with some decent way to deal with good Tag information, now.

I've got basic Patch marshaling complete, now. I'd pass a website address to give it a look, but I'm afraid of incurring the wrath of my friend that is hosting our current development work of his home connection.

Basically, I have a full Darcsweb-style patch log, albeit date-ordered, and patch summaries, with pretty URLs (ie, /patch/2006/Feb/17/member-system-upgrade-issue-30/, for the patch with name "Member System Upgrade (Issue 30)"), with no darcs calls other than the initial import call to ``darcs changes``, which I'm planning to soon script as a --posthook. I'm still having some OS+Timezone-related issues, but I'm pretty happy with it, otherwise.

--
--Max Battcher--
http://www.worldmaker.net/

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

Reply via email to