<div class="gmail_quote">2009/1/8 Ian Clatworthy <span dir="ltr">&lt;<a href="mailto:ian.clatworthy@internode.on.net">ian.clatworthy@internode.on.net</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
...<br>
I also suspect that filtering on remote revisions will be more<br>
common than on local, </blockquote><div>100% agree<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">because pulling/merging/updating arguably<br>

happens more frequently that pushing, especially given Bazaar&#39;s<br>
bound branch support. So my suggestion is:<br>
<br>
* --revision, -r for remote revision filtering<br>
* --my-revision for this revision filtering.</blockquote><div>yes please. done.<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

I don&#39;t think the latter needs a shortcut.</blockquote><div>done.<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;">
Please add a NEWS entry.</blockquote><div>done.<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Please expand the missing help to include filtering examples.</blockquote><div>done.&nbsp; (I gave it a shot but it can probably be improved)<br>&nbsp;<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; &nbsp; &nbsp;# clone and add a differing revision<br>
&gt; + &nbsp; &nbsp; &nbsp; &nbsp;b_tree = a_tree.bzrdir.sprout(&#39;b&#39;).open_workingtree()<br>
&gt; +<br>
&gt; + &nbsp; &nbsp; &nbsp; &nbsp;for i in range(2, 6):<br>
<br>
s/a differing revision/differing revisions/</blockquote><div>done. <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; &nbsp; &nbsp;out,err = self.run_bzr(&#39;missing ../b -r 2&#39;, retcode=1)<br>
&gt; + &nbsp; &nbsp; &nbsp; &nbsp;self.assertMessages(out, (&#39;a2&#39;, &#39;b2&#39;, &#39;b3&#39;, &#39;b4&#39;, &#39;b5&#39;), (&#39;a3&#39;,))<br>
<br>
So if just one limit is given, it&#39;s implicitly an upper one?</blockquote><div>no, it behaves like `bzr log -r 2` i.e. it will only return revision 2.<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;">

I had expected it to be the lower one with the upper limit being<br>
the last in that branch. (If I&#39;m right, there&#39;s a bug, right?)</blockquote><div>I updated the test and missing documentation to reflect this behaviour better<br>(I borrowed some documentation from cmd_log).<br>&nbsp;</div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; +<br>
&gt; + &nbsp; &nbsp; &nbsp; &nbsp;self.assertUnmerged([], [(&#39;4&#39;, &#39;rev6&#39;, 0)],<br>
&gt; + &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tree.branch, tree2.branch, &#39;all&#39;,<br>
&gt; + &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;include_merges=True, remote_revid_range=(rev6, rev6))<br>
<br>
You could probably drop the &#39;all&#39; parameter as you&#39;ve done<br>
elsewhere.</blockquote><div>I removed &#39;all&#39; of them now.<br>&nbsp;<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; &nbsp; &nbsp;self.assertUnmerged([], [(&#39;3&#39;, &#39;rev3&#39;,0 ), (&#39;3.1.1&#39;, &#39;rev4&#39;, 1)],<br>
<br>
add space after ,.</blockquote><div>done.<br>&nbsp;<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; &nbsp; &nbsp;self.assertUnmerged([], [(&#39;4&#39;, &#39;rev6&#39;, 0),(&#39;3.1.2&#39;, &#39;rev5&#39;, 1)],<br>
</blockquote><div>done.<br></div></div><br>Thanx a lot for the review!<br>-- <br>&lt;| regards<br>U| Marius<br>H| &lt;&gt;&lt; <br>