<br><br><div class="gmail_quote">On Wed, Jun 24, 2009 at 1:03 AM, Ian Clatworthy <span dir="ltr"><<a href="mailto:ian.clatworthy@internode.on.net">ian.clatworthy@internode.on.net</a>></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>
> Whenever I start "bzr explorer" I always get the "no working tree". If<br>
> I start this in a directory which is not a branch or a shared repository<br>
> then that seems fine. However if I start "bzr explorer" in a branch or<br>
> shared repository my expectation is that it would automatically open<br>
> that branch or repository -- though maybe it cannot deal with<br>
> repositories?<br>
<br>
</div>FWIW, I usually start with "bzr explorer ." when launching from the<br>
command line.<br>
<div class="im"><br>
> Given that all other bzr operations work on the branch that is the<br>
> current directory, this behaviour of the explorer command does seem<br>
> 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're working on. That's<br>
particularly true when launching from the Applications/Start menu or<br>
from a shortcut in your "quick-launch bar", which is where we want to<br>
get to.<br>
<br>
So that's why it's the way it is. I'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't a bzr location<br>
bzr explorer - open current directory iff it's a bzr location<br>
<br>
Sound right?<br>
<br>
Ian C.</blockquote><div><br>I actually prefer silent "failure" 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 "base" directory" 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>