Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh completion for "svn" is obsolete
- X-seq: zsh-workers 30937
- From: Yann Ollivier <technical@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: zsh completion for "svn" is obsolete
- Date: Wed, 2 Jan 2013 13:25:58 +0100 (CET)
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=senellart.com; s=x; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=JJ+0PZ/lM0goUD1DLuQYKvBQyqjXvk8DAR9RwmuHwy4=; b=avxdu1AenD8JEOHjKDrraRWTTggGlKw8VWYCDLYpo8s2Y7/y7qzzDli/H6u4zInZWix44zmjIER/H3it0h+sBCPnx19KFRAxcIIV2sM5swzQ8kY6yw3S0AeoIo7xFOP/;
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hello,
The completion functions for "svn" seem to be broken since subversion 1.7.
For instance if you hit "svn add <TAB>", it will complete all files in the
current directory, while it used to complete only those files not under
subversion control. Likewise, if you hit "svn remove <TAB>" it used to
complete all files under subversion control, but now returns only
subdirectories (or all files if there are no subdirectories).
This affects at least zsh 5.0.0 and 5.0.2.
The reason is: the helper functions in
zsh/functions/Completion/Unix/_subversion
are obsolete. They all rely on the presence of ".svn" subdirectories in
all directories under version control, whereas since subversion 1.7 these
directories have been removed and the list of versioned files is
maintained as a database in $HOME/.svn
A related issue has been discussed and fixed in the past
(completion after hitting "svn <TAB>"), but this one seems to be still
unresolved.
Thanks!
Yann Ollivier
Messages sorted by:
Reverse Date,
Date,
Thread,
Author