<br><br><div class="gmail_quote">On Sat, Sep 12, 2009 at 2:21 PM, Ganesh Sittampalam <span dir="ltr">&lt;<a href="mailto:ganesh@earth.li">ganesh@earth.li</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sat, 12 Sep 2009, Eric Kow wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Wed, Sep 02, 2009 at 07:45:45 -0700, Jason Dagit wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Kamil and I have had some off-list discussion about this patch.  My<br>
current understanding is that it should not be applied yet.  Kamil is<br>
doing some further digging into how his bit of code should work<br>
transactionally.  Which is to say, we are being cautious :)<br>
</blockquote>
<br>
Thanks for this.<br>
Could you provide a summary of this discussion?<br>
</blockquote>
<br></div>
+1 for a summary - I&#39;ve seen various patches flying around and Jason asked me to take an additional look last week, but I&#39;ve only now had time but am not quite sure if things have moved on since then.<br></blockquote>
<div><br></div><div>I don&#39;t think that discussion is particularly helpful.  In particular, the bundle that Kamil sent here supersedes that discussion:</div><div><a href="http://lists.osuosl.org/pipermail/darcs-users/2009-September/021149.html">http://lists.osuosl.org/pipermail/darcs-users/2009-September/021149.html</a></div>
<div><br></div><div>Not sure how you guys missed it, but once that bundle came to the list I replied here:</div><div><a href="http://lists.osuosl.org/pipermail/darcs-users/2009-September/021175.html">http://lists.osuosl.org/pipermail/darcs-users/2009-September/021175.html</a></div>
<div><br></div><div>I need you guys to comment on: 1) The orphan patches that I bring up in that reply. 2) Putting inverse patches in tentative_pristine versus commuting patches to the end and discarding them.</div><div><br>
</div><div>Someone may need to research what darcs does with the tentative_pristine to correctly answer #2.  I haven&#39;t had enough round tuits to do that research yet.  My fear is that if we read tentative_pristine and make a patch bundle from it then you get extra patches.  You get the stuff that was in there plus some inverses of stuff that is in there.  If we say, &quot;okay, do some coalescing first to collapse inverses&quot; then I would like to point out that Eric has made me aware of at least one bug with coalescing not being clever enough to fully collapse a sequence (I don&#39;t have the issue# handy, sorry).  It&#39;s possible that all we do with the tentative_pristine is apply it directly to the pristine in which case applying patches and then their inverses is no different than applying rollback patches and my fears are unwarranted.</div>
<div><br></div><div>Other things to note:  a) obliterate creates orphan patches, b) the old version of this code used to commute the patches to_remove to the end and discard them.</div><div><br></div><div>Thanks,</div><div>
Jason</div></div>