<div dir="ltr">thanks for looking at this<br><br><div class="gmail_quote">2008/7/23 Rob Weir &lt;<a href="mailto:rweir@ertius.org">rweir@ertius.org</a>&gt;:<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="Ih2E3d">On 21 Jul 2008, Marius Kruger wrote:<br>
&gt; I&#39;ve been using `bzr switch` a bit recently, and I&#39;m thinking<br>
&gt; it will be nice if it will update the branch&#39;s nick too<br>
&gt; to be the nick of the new branch we&#39;re binding to.<br>
&gt; It makes sense if you use a checkout as a working branch<br>
&gt; and switch between other local branches for current work.<br>
<br>
</div>Great - lightweight checkouts already work like this, so it would be<br>
good to make regular ones consistent.</blockquote><div><br>I wasn&#39;t actually aware of this. thx <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

&gt; + &nbsp; &nbsp;def test_switch_nick(self):<br>
&gt; + &nbsp; &nbsp; &nbsp; &nbsp;&quot;&quot;&quot;Check that the nick gets switched too.&quot;&quot;&quot;<br>
&gt; + &nbsp; &nbsp; &nbsp; &nbsp;tree1 = self.make_branch_and_tree(&#39;branch1&#39;)<br>
&gt; + &nbsp; &nbsp; &nbsp; &nbsp;#tree1.commit(&#39;foo&#39;)<br>
&gt; + &nbsp; &nbsp; &nbsp; &nbsp;tree2 = self.make_branch_and_tree(&#39;branch2&#39;)<br>
&gt; + &nbsp; &nbsp; &nbsp; &nbsp;tree2.pull(tree1.branch)<br>
&gt; + &nbsp; &nbsp; &nbsp; &nbsp;#branch2_id = tree2.commit(&#39;bar&#39;)<br>
<br>
If the commented lines aren&#39;t needed, maybe just remove them for clarity?</blockquote><div><br>yes thanks, I removed them.<br>I also added news, and updated the help.<br><br>regards<br>marius<br><br></div></div><br></div>