<div dir="ltr">A 'feature branch' is a branch that is short-lived, exists only on a developer's local machine and is merged back into to trunk/master when the feature being implemented is done. You shouldn't build releases from feature branches. Instead you should either build from trunk/master or create a long-lived release branch from which you build the release and commit fixes for point/patch releases.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 9, 2013 at 4:21 AM, Chris Hecker <span dir="ltr"><<a href="mailto:checker@d6.com" target="_blank">checker@d6.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Yep, this seems to work perfectly for my use-case. Damn, wish I'd done this a while ago! bzr is so flexible, it's great!<br>
<br>
Thanks!<span class="HOEnZb"><font color="#888888"><br>
Chris</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 2013-01-09 01:01, Chris Hecker wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm not quite sure why that feature branch isn't actually your<br>
trunk. But yes, it does sound like it would solve your situation.<br>
</blockquote>
<br>
Well, I may also be using the terms incorrectly. This is my first dvcs<br>
project, and I'm not very d, if that makes sense. So, I run it mostly<br>
like a p4 or svn project, where I code on my laptop, and then check it<br>
in, and then push to the server. Of course, I also have a branch on the<br>
server that I work on for server side stuff. That's the one that<br>
stomped the revno locally when I merged there, and then pushed to the<br>
main repo, and then pulled.<br>
<br>
I build releases in the feature branch, so the revno gets snapped there<br>
to make the build number for the major.minor.build version number in the<br>
exe.<br>
<br>
If I was acting like a real programmer, I'd have a build machine that<br>
would make the builds, or at least a separate branch on my laptop that<br>
is just used for that, but I don't do that right now.<br>
<br>
I will try aro=T locally, because now that I've explained everything and<br>
you've explained everything, I think that's exactly what I want. I<br>
could care less about the revno on the server in either the main repo or<br>
its branches. I'm also going to make a field in the version resource<br>
that contains the revision id in case this happens again. :)<br>
<br>
Thanks!<br>
Chris<br>
<br>
<br>
<br>
On 2013-01-09 00:53, John Arbash Meinel wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
On 2013-01-09 12:42, Chris Hecker wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Pull and push are the only way to break the 'monotonically<br>
increasing' behavior. So if you use "merge & commit" to update a<br>
feature branch, it will always have proper increasing values.<br>
</blockquote>
<br>
Hmm. Does this mean that if I use append_revisions_only=True on<br>
the feature branch I care about being monotonic, then I can skip<br>
all this rigamarole and just always merge from the server repo, and<br>
then push to it? Basically, aro=T would disable bzr pull, which is<br>
where my problem comes from anyway?<br>
<br>
Again, I only really care about a single feature branch being<br>
monotonic.<br>
<br>
Would that simplify my workflow and be close to what I have now?<br>
I'd rather not have a bunch of branches around that I have to test<br>
and build, even with colo.<br>
<br>
Chris<br>
</blockquote>
<br>
I'm not quite sure why that feature branch isn't actually your trunk.<br>
But yes, it does sound like it would solve your situation.<br>
<br>
John<br>
=:-><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.12 (Cygwin)<br>
Comment: Using GnuPG with undefined - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
iEYEARECAAYFAlDtMAYACgkQJdeBCY<u></u>SNAANCZACg1T/r+<u></u>zrVnkABHyUW7OPeI9er<br>
iIoAnRLyDdpjiD0he5Kwa06evzjJK+<u></u>HB<br>
=srDy<br>
-----END PGP SIGNATURE-----<br>
<br>
</blockquote></blockquote>
<br>
</div></div></blockquote></div><br></div>