<br><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 8:19 PM, Jason Harris <span dir="ltr">&lt;<a href="mailto:jason@jasonfharris.com">jason@jasonfharris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5"><br>
On Feb 24, 2011, at 7:39 PM, timeless wrote:<br>
<br>
&gt; On Thu, Feb 24, 2011 at 8:19 PM, Jason Harris &lt;<a href="mailto:jason@jasonfharris.com">jason@jasonfharris.com</a>&gt; wrote:<br>
&gt;&gt; Shouldn&#39;t the history editing tools then be better here? Which is the real issue. The immutability of history is not really what you care about here it seems like... :)<br>
&gt;<br>
&gt; history editing doesn&#39;t help if you only find out history isn&#39;t ok<br>
&gt; after you push to another host because some other client pulled from<br>
&gt; that host and complained to someone. it&#39;s already partially out in the<br>
&gt; wild.<br>
&gt;<br>
&gt; picture:<br>
&gt;<br>
&gt; &lt;manager&gt; - &lt;anal-bot&gt;<br>
&gt; |               |<br>
&gt; &lt;dev&gt; - &lt;internal-dvcs&gt; - &lt;publisher&gt; - &lt;public-dvcs&gt;<br>
&gt;                |<br>
&gt; &lt;other-dev&gt;<br>
&gt;<br>
&gt; steps:<br>
&gt; 1. dev pushes something to internal-dvcs.<br>
&gt; 2. other-dev pulls from internal-dvcs<br>
&gt; 3. anal-bot pulls from internal-dvcs<br>
&gt; 4. anal-bot sends a report to manager<br>
&gt; 5. manager sends a report to dev<br>
&gt;<br>
&gt; 6. dev cries<br>
&gt;<br>
&gt; 6-1. dev needs to do something to satisfy manager | anal-bot, but<br>
&gt; &lt;internal-dvcs&gt; is append only.<br>
&gt;<br>
&gt; 7. publisher doesn&#39;t publish to &lt;public-dvcs&gt; until much later (or<br>
&gt; never if ordered not to by manager because of anal-bot report).<br>
&gt;<br>
&gt; 6-2. If dev can fix commit message to satisfy &lt;anal-bot&gt;, then life is<br>
&gt; better for dev.<br>
&gt;<br>
&gt; 7-1. if &lt;publisher&gt; can use |hg convert| to fold those messages later<br>
&gt; before publishing to &lt;public-dvcs&gt;, then publication is more likely to<br>
&gt; happen. the alternative is roughly an export of a single delivered<br>
&gt; version (because of &lt;anal-bot&gt;/&lt;manager&gt;).<br>
&gt;<br>
&gt; Note that as there&#39;s a general mapping available to &lt;publisher&gt; for<br>
&gt; &lt;internal-dvcs&gt; and &lt;public-dvcs&gt;, the fact that the changeset ids<br>
&gt; don&#39;t match doesn&#39;t really bother anyone too much. If this didn&#39;t<br>
&gt; happen, they&#39;d still not match, but the tree topology wouldn&#39;t match<br>
&gt; either (single commit dumps for an entire release).<br>
<br>
</div></div>Well with that work flow, yep you are farily out of luck. Even so what happens if the problem is not just a commit message but say EOL wasn&#39;t correct. Then even with this extension you are still hosed. Or the anal-bot is some continuous integration server and has rejected the changes due to failing tests or something.<br>

<br>
In any case I would suggest changes to the workflow but you like would already change it if you could...<br>
<br>
Cheers,<br>
  Jas<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Mercurial-devel mailing list<br>
<a href="mailto:Mercurial-devel@selenic.com">Mercurial-devel@selenic.com</a><br>
<a href="http://selenic.com/mailman/listinfo/mercurial-devel" target="_blank">http://selenic.com/mailman/listinfo/mercurial-devel</a><br>
</div></div></blockquote></div><br>I think that fixing an invalid commit message is in fact harder than fixing say a file with wrong EOL.To fix a file that is tracked by mercurial you can fix it and commit, creating a new changeset. But you cannot fix a commit message by making a new changeset!<br>
<br>Angel<br><br>