bzr shell autocomplete doesn't support spaces in filenames

Bug #531399 reported by Francois Trahan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BzrTools
New
Undecided
Unassigned

Bug Description

Using bzrtools (Unbuntu karmic 64, package bzrtools 2.0.1-1 )

When in the bzr shell, if a file or folder has a space in it's name, auto complete gives an unusable completion.

Example :
The current folder contains a folder called "My Branch"

In bzr shell, typing the following line ([tab] means hitting tab...)
        qlog My[tab]

will expand to
        qlog My Branch

and this will pass two folders to qlog... "My" and "Branch" instead of "My Branch"

The correct expansion would have been either
       qlog My\ Branch
or
       qlog "My Branch"

Revision history for this message
Francois Trahan (francois-trahan) wrote :

Drafting a fix... I will need help testing and making sure that I escape properly

Revision history for this message
Francois Trahan (francois-trahan) wrote :

should be closed after merge

Changed in bzrtools:
assignee: nobody → Francois Trahan (francois-trahan)
status: New → In Progress
Revision history for this message
Francois Trahan (francois-trahan) wrote :

Hum... merge propose removed, it should be done with shlex...

Changed in bzrtools:
status: In Progress → New
assignee: Francois Trahan (francois-trahan) → nobody
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.