<br><br><div class="gmail_quote">On Wed, Jun 24, 2009 at 1:03 AM, Ian Clatworthy <span dir="ltr">&lt;<a href="mailto:ian.clatworthy@internode.on.net">ian.clatworthy@internode.on.net</a>&gt;</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">Russel Winder wrote:<br>
&gt; Whenever I start &quot;bzr explorer&quot; I always get the &quot;no working tree&quot;.  If<br>
&gt; I start this in a directory which is not a branch or a shared repository<br>
&gt; then that seems fine.  However if I start &quot;bzr explorer&quot; in a branch or<br>
&gt; shared repository my expectation is that it would automatically open<br>
&gt; that branch or repository -- though maybe it cannot deal with<br>
&gt; repositories?<br>
<br>
</div>FWIW, I usually start with &quot;bzr explorer .&quot; when launching from the<br>
command line.<br>
<div class="im"><br>
&gt; Given that all other bzr operations work on the branch that is the<br>
&gt; current directory, this behaviour of the explorer command does seem<br>
&gt; slightly out of idiom.<br>
<br>
</div>There is a slight difference in expectation though. If a bzr command is<br>
run outside of a sensible place, it tends to immediately fall over and<br>
error out. In contrast, most users expect a GUI application to start-up<br>
and then let you select the document/project you&#39;re working on. That&#39;s<br>
particularly true when launching from the Applications/Start menu or<br>
from a shortcut in your &quot;quick-launch bar&quot;, which is where we want to<br>
get to.<br>
<br>
So that&#39;s why it&#39;s the way it is. I&#39;ll accept a patch to change it<br>
though. It would need to behave as follows I think:<br>
<br>
  bzr explorer foo - error dialog if foo isn&#39;t a bzr location<br>
  bzr explorer - open current directory iff it&#39;s a bzr location<br>
<br>
Sound right?<br>
<br>
Ian C.</blockquote><div><br>I actually prefer silent &quot;failure&quot; if the current directory is not a bzr location.  I suppose it would be fine to write a friendly message into the status area.  I suppose if I launched Bazaar Exlorer from the command line, I would agree with Russel.  But I use Bazaar Explorer so much that I have a desktop shortcut icon for it (on both WinXP and Januty).  Maybe it would be nice to specify a default &quot;base&quot; directory&quot; but otherwise I accept that Bazaar Explorer has no way of knowing where I want to go.  I guess it just does not bother me.  What would bother me would be an intrusive dialog that I had to dismiss every time.<br>
<br>-M<br><br></div></div><br>