From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2657 invoked from network); 30 Sep 2007 16:33:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 30 Sep 2007 16:33:58 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 27634 invoked from network); 30 Sep 2007 16:33:52 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 Sep 2007 16:33:52 -0000 Received: (qmail 25841 invoked by alias); 30 Sep 2007 16:33:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23865 Received: (qmail 25830 invoked from network); 30 Sep 2007 16:33:49 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 30 Sep 2007 16:33:49 -0000 Received: (qmail 27345 invoked from network); 30 Sep 2007 16:33:49 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 30 Sep 2007 16:33:43 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id DAC715C368; Sun, 30 Sep 2007 12:33:41 -0400 (EDT) Date: Sun, 30 Sep 2007 12:33:41 -0400 From: Clint Adams To: zsh-workers@sunsite.dk, Vincent Lefevre , 342347-forwarded@bugs.debian.org Subject: Re: Bug#342347: zsh: _cache_svn_status makes subversion completion fail after a change Message-ID: <20070930163341.GA27610@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk, Vincent Lefevre , 342347-forwarded@bugs.debian.org References: <20051207104854.GA24060@dixsept.loria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051207104854.GA24060@dixsept.loria.fr> User-Agent: Mutt/1.5.16 (2007-06-11) 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?