Bug#342052: subversion: Completion has an extra 'z' list item

2005-12-05 Thread Peter Samuelson

[Justin Pryzby]
> $ svnadmin  
> --version   hotcopy recover
> create  list-dblogs rmlocks
> d   list-unused-dblogs  rmtxns
> deltify loadsetlog
> dumplslocks verify
> helplstxns  z

Right, "d" and "z" are files in your current directory.  The bash
completion machinery mistakenly believes that the "?" subversion option
(a synonym for "help") is supposed to be expanded as a file wildcard.

The following patch will be in the next subversion upload.

Thanks,
Peter

--- /etc/bash_completion.d/subversion
+++ /etc/bash_completion.d/subversion
@@ -18,7 +18,7 @@
 
# Possible expansions, without pure-prefix abbreviations such as "up".
cmds='add blame annotate praise cat checkout co cleanup commit ci \
-  copy cp delete remove rm diff export help ? import info \
+  copy cp delete remove rm diff export help import info \
   list ls lock log merge mkdir move mv rename \
   propdel pdel propedit pedit propget pget \
   proplist plist propset pset resolved revert \
@@ -225,7 +225,7 @@
cur=${COMP_WORDS[COMP_CWORD]}
 
# Possible expansions, without pure-prefix abbreviations such as "h".
-   cmds='create deltify dump help ? hotcopy list-dblogs \
+   cmds='create deltify dump help hotcopy list-dblogs \
  list-unused-dblogs load lslocks lstxns recover rmlocks \
  rmtxns setlog verify --version'
 


signature.asc
Description: Digital signature


Bug#342052: subversion: Completion has an extra 'z' list item

2005-12-04 Thread Justin Pryzby
Package: subversion
Severity: minor
Version: 1.2.3dfsg1-2

$ svnadmin  
--version   hotcopy recover
create  list-dblogs rmlocks
d   list-unused-dblogs  rmtxns
deltify loadsetlog
dumplslocks verify
helplstxns  z
   ^^^
I have not tested with the new completion (See #307184).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]