Mercurial tab completion doesn't work with files with spaces
Bug #889344 reported by
Stephen Rasku
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hg |
Fix Released
|
Unknown
|
|||
mercurial (Ubuntu) |
Fix Released
|
Low
|
Vibhav Pant |
Bug Description
If you use tab completion for a file with a space in it the tab completion doesn't escape the spaces or wrap the filename in quotes. This causes the filename to not be recognized.
To reproduce:
$ touch "x y z"
$ hg add x<Tab>y z
x: No such file or directory
y: No such file or directory
z: No such file or directory
$ ls x<Tab>\ y\ z
x y z
Related branches
Changed in mercurial (Ubuntu): | |
status: | New → Confirmed |
Changed in hg: | |
status: | Unknown → New |
Changed in hg: | |
status: | New → Fix Released |
Changed in mercurial (Ubuntu): | |
status: | Confirmed → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Andrew Starr-Bochicchio (andrewsomething) |
Changed in mercurial (Ubuntu): | |
assignee: | Andrew Starr-Bochicchio (andrewsomething) → Vibhav Pant (vibhavp) |
To post a comment you must log in.
$ hg version mercurial. selenic. com for more information)
Mercurial Distributed SCM (version 2.0)
(see http://
Copyright (C) 2005-2011 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.