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

Re: Bug#342347: zsh: _cache_svn_status makes subversion completion fail after a change



On Wed, Dec 07, 2005 at 11:48:54AM +0100, Vincent Lefevre wrote:
> The "svn status" result is cached by _subversion in $_cache_svn_status,
> but the cache is not updated after a modification of the files (which
> may lead to a change in the "svn status" result). Therefore later svn
> completions sometimes fail.
> 
> IMHO, it would be sufficient to clear the cache at the next prompt
> in practice. The files may be modified by another process while a
> svn command is still being typed, but this wouldn't be common.

Maybe use the caching layer and expire it after 10 seconds?



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