<div dir="ltr">thanks for looking at this<br><br><div class="gmail_quote">2008/7/23 Rob Weir <<a href="mailto:rweir@ertius.org">rweir@ertius.org</a>>:<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>
> I've been using `bzr switch` a bit recently, and I'm thinking<br>
> it will be nice if it will update the branch's nick too<br>
> to be the nick of the new branch we're binding to.<br>
> It makes sense if you use a checkout as a working branch<br>
> 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'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;">
> + def test_switch_nick(self):<br>
> + """Check that the nick gets switched too."""<br>
> + tree1 = self.make_branch_and_tree('branch1')<br>
> + #tree1.commit('foo')<br>
> + tree2 = self.make_branch_and_tree('branch2')<br>
> + tree2.pull(tree1.branch)<br>
> + #branch2_id = tree2.commit('bar')<br>
<br>
If the commented lines aren'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>