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
- X-seq: zsh-workers 23865
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx, Vincent Lefevre <vincent@xxxxxxxxxx>, 342347-forwarded@xxxxxxxxxxxxxxx
- Subject: Re: Bug#342347: zsh: _cache_svn_status makes subversion completion fail after a change
- Date: Sun, 30 Sep 2007 12:33:41 -0400
- In-reply-to: <20051207104854.GA24060@xxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx, Vincent Lefevre <vincent@xxxxxxxxxx>, 342347-forwarded@xxxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20051207104854.GA24060@xxxxxxxxxxxxxxxx>
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