Well the odds are very high that both feature and dev branches might be pretty long lived with multiple merges going back and forth, I&#39;ve got used to the habit of merging to the dev branch, tidying up, and then merging to the feature branch.  After those changes are committed, I merge --pull to the dev branch, and keep going.<br>
<br>Part of this is because whilst bzr makes creating new branches trivial, pointing my dev tools (IntelliJ in this case) at a new branch takes what seems like ages.<br><br>FYI bzr info says that we have ~24k files, 2771 versionsed directories and 2253 revisions.<br>
<br>Guy<br><br><br><div class="gmail_quote">On Tue, Apr 21, 2009 at 4:41 PM, Robert Collins <span dir="ltr">&lt;<a href="mailto:robert.collins@canonical.com">robert.collins@canonical.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, 2009-04-21 at 15:13 -0700, Guy Gascoigne-Piggford wrote:<br>
&gt;<br>
&gt; switch to a checkout of the feature branch.<br>
&gt; update it. (bzr up)<br>
&gt; merge from the dev branch to the feature branch) (bzr<br>
&gt; merge ../dev_branch) - barring timing issues there really aren&#39;t<br>
&gt; likely to be conflicts, but if there are then we either cycle back to<br>
&gt; stage 1, or just resolve them here and continue.<br>
&gt; check in (bzr ci).<br>
&gt;<br>
&gt; This works and isn&#39;t particularly tricky, but it somehow seems that<br>
&gt; we&#39;re missing something.  I noticed that in all of the discussions<br>
&gt; about checkouts recently, not one of them mentioned using them as a<br>
&gt; way to manage a merge to a remote branch, and that&#39;s pretty much<br>
&gt; exactly what we are doing.<br>
<br>
</div>Committing to trunk is one of the major reasons for checkouts, and why<br>
checkouts with history are very useful; I use them all the time ;).<br>
<br>
For your process I would do:<br>
cd trunk<br>
bzr merge ../dev_branch<br>
fixup conflicts<br>
regression-test if needed<br>
bzr commit<br>
<br>
That seems much more direct.<br>
<br>
-Rob<br>
</blockquote></div><br>