Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#331076: zsh: another bug in subversion completion for svn revert



On Sun, Sep 30, 2007 at 07:43:06PM +0200, Vincent Lefevre wrote:
> There's still a problem with "svn revert" completion. I don't know if
> this is related.
> 
> vin:~tmp/wc> ll
> total 0
> -rw-r--r-- 1 vlefevre vlefevre 0 2007-04-05 17:50:09 foo
> vin:~tmp/wc> svn st
> vin:~tmp/wc> touch bar
> vin:~tmp/wc> svn add bar
> A         bar
> vin:~tmp/wc> svn st
> A      bar
> vin:~tmp/wc> svn revert [TAB]
> Completing file
> bar  foo
> 
> It should have completed on "bar".
> 
> This bug also happens with zsh-beta. If I re-exec the shell just
> before trying "svn revert [TAB]", then it completes on "bar" as
> expected.
> 
> The bug isn't always reproducible.

And if you unset _cache_svn_status right before the svn revert, does it
do the correct thing?



Messages sorted by: Reverse Date, Date, Thread, Author