<table><tr><td style="">simgunz added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D21156">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Wouldn't make more sense to do <tt style="background: #ebebeb; font-size: 13px;">arc land --onto 5.3</tt> (and then merge 5.3 into master)? In this way the Differential Revision would be closed automatically.</p></blockquote>

<p>I suggest to do a <tt style="background: #ebebeb; font-size: 13px;">arc amend</tt> (to basically update the commit message with current reviewers, "Differentiatl Revision" line, etc.) and then <tt style="background: #ebebeb; font-size: 13px;">git push</tt> your change manually to the right branch. Let's you use your normal git command-line to actually push changes, which to me is a much more thrust-worthy approach than to rely on arc to do that for me...</p></blockquote>

<p>Probably this should be added to the guide. And probably it should also be added that the commits should be squashed (thing that <tt style="background: #ebebeb; font-size: 13px;">arc land</tt> does automatically).</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Wouldn't make more sense to do <tt style="background: #ebebeb; font-size: 13px;">arc land --onto 5.3</tt> (and then merge 5.3 into master)? In this way the Differential Revision would be closed automatically.</p></blockquote>

<p>IMHO yes, it would. I use it all the time :) Never failed to me. Only failed myself when forgetting to use --onto :)</p></blockquote>

<p>Good to know. I prefer this approach, seems way easier and less error prone than cherry pick, squash, arc amend and push.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21156">https://phabricator.kde.org/D21156</a></div></div><br /><div><strong>To: </strong>simgunz, KDevelop, rjvbb, mwolff<br /><strong>Cc: </strong>kossebau, kfunk, aacid, kde-doc-english, mwolff, rjvbb, kdevelop-devel, hmitonneau, christiant, gennad, fbampaloukas, glebaccon, domson, antismap, iodelay, alexeymin, skadinna, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>