"learning help" in qpull is too verbose

Bug #486843 reported by Ian Clatworthy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Low
Ian Clatworthy

Bug Description

The display of the actual command run by most qbzr commands is neat. To be a better learning too though, the commands should more closely reflect what someone at the command line would *actually* type. Take qpull for example. It displays this when I refresh my mirror of bzr's trunk:

Run command: bzr pull bzr+ssh://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/ --directory /home/ian/Projects/bzr/bzr/trunk

If I was at the command line, I'd only type 'bzr pull', not the above. As a simple first step, qpull should only add "--directory xxx" if xxx is not the current working directory.

Related branches

OldAl (algis.kabaila)
Changed in qbzr:
assignee: nobody → OldAl (algis.kabaila)
Revision history for this message
OldAl (algis.kabaila) wrote :

Suggest we change the explanation to:
bzr pull --directory <directory_name>
I have assigned the bug to me, so will now look for a way to achieve that. If anyone interested thinks that the text displayed should be different, please indicate it here or on the mailing list (the latter with a copy to me, please!).

Revision history for this message
OldAl (algis.kabaila) wrote : Re: [Bug 486843] [NEW] "learning help" in qpull is too verbose

On Monday 23 November 2009 10:52:50 Launchpad Bug Tracker wrote:
> You have been subscribed to a public bug:
>
> The display of the actual command run by most qbzr commands is neat. To
> be a better learning too though, the commands should more closely
> reflect what someone at the command line would *actually* type. Take
> qpull for example. It displays this when I refresh my mirror of bzr's
> trunk:
>
> Run command: bzr pull bzr+ssh://bazaar.launchpad.net/~bzr-
> pqm/bzr/bzr.dev/ --directory /home/ian/Projects/bzr/bzr/trunk
>
> If I was at the command line, I'd only type 'bzr pull', not the above.
> As a simple first step, qpull should only add "--directory xxx" if xxx
> is not the current working directory.
>
> ** Affects: qbzr
> Importance: Undecided
> Assignee: OldAl (algis.kabaila)
> Status: New

The bzr qrun followed by qpull seems to work the way I would have expected to
do. However, a serious bug is that in case the instructions are incorrect, it
just shuts down, without warning. The Error message is flashed on the GUI's
window momentarily, but disappears befor one can even glance at it. This is
IMO a serious bug.

As far as verbosity is concerned, IMO it is better to be verbose, rather than
unclear.

Ian, you mention the message
> Run command: bzr pull bzr+ssh://bazaar.launchpad.net/~bzr-
> pqm/bzr/bzr.dev/ --directory /home/ian/Projects/bzr/bzr/trunk
>
How did you get it? Of course, I can not reproduce it exctly? I am unable to
reproduce the message on local "repository" and a branch.

Overall, I see that the GUI, invoked by bzr qrun, has a great potential, as it
can come very close to what the CLI does.

I am frustrated not being able to reproduce the message
"Run command: bzr pull <from_directory> --directory <to_directory>"
I don't see how to get that response, at least when I use my local
directories.

Anyone has better luck with reproducing what Ian reports?

OldAl.

--
Algis Kabaila, MEngSc, PhD(Eng)
http://akabaila.pcug.org.au/StructuralAnalysis.pdf

Revision history for this message
Gary van der Merwe (garyvdm) wrote :

On Mon, Nov 23, 2009 at 1:57 AM, OldAl <email address hidden> wrote:
> Suggest we change the explanation to:
> bzr pull --directory <directory_name>

If you current directory is that same as the branch that you are
pulling into, it could just be:
bzr pull

On Mon, Nov 23, 2009 at 4:33 AM, OldAl <email address hidden> wrote:
> How did you get it? Of course, I can not reproduce it exctly?  I am unable to
> reproduce the message on local "repository" and a branch.
>
> I am frustrated not being able to reproduce the message
> "Run command: bzr pull <from_directory> --directory <to_directory>"
> I don't see how to get that response, at least when I use my local
> directories.

Steps to reproduce:

cd mybranch
bzr qpull

<press ok>

Revision history for this message
Alexander Belchenko (bialix) wrote :

Ian, the term "learning help" is misleading. We show actually the command we run via qsubprocess. I don't think we need to mangle this command to make it much pleaser for users. Instead we should make command creation more intelligent, which may require significant amount of work for very small benefits.

Changed in qbzr:
status: New → Confirmed
importance: Undecided → Medium
importance: Medium → Low
Changed in qbzr:
status: Confirmed → Fix Released
assignee: OldAl (algis.kabaila) → Ian Clatworthy (ian-clatworthy)
milestone: none → 0.18
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.