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'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"><<a href="mailto:robert.collins@canonical.com">robert.collins@canonical.com</a>></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>
><br>
> switch to a checkout of the feature branch.<br>
> update it. (bzr up)<br>
> merge from the dev branch to the feature branch) (bzr<br>
> merge ../dev_branch) - barring timing issues there really aren't<br>
> likely to be conflicts, but if there are then we either cycle back to<br>
> stage 1, or just resolve them here and continue.<br>
> check in (bzr ci).<br>
><br>
> This works and isn't particularly tricky, but it somehow seems that<br>
> we're missing something. I noticed that in all of the discussions<br>
> about checkouts recently, not one of them mentioned using them as a<br>
> way to manage a merge to a remote branch, and that's pretty much<br>
> 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>