From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1382 invoked from network); 21 May 2009 07:56:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) 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.5 Received: from new-brage.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.254.104) by ns1.primenet.com.au with SMTP; 21 May 2009 07:56:37 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 34121 invoked from network); 21 May 2009 07:56:32 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 May 2009 07:56:32 -0000 Received: (qmail 14348 invoked by alias); 21 May 2009 07:56:28 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26976 Received: (qmail 14339 invoked from network); 21 May 2009 07:56:27 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 21 May 2009 07:56:27 -0000 Received: from prunille.vinc17.org (vinc17.pck.nerim.net [213.41.242.187]) by bifrost.dotsrc.org (Postfix) with ESMTP id 749168027106 for ; Thu, 21 May 2009 09:56:24 +0200 (CEST) Received: by prunille.vinc17.org (Postfix, from userid 501) id 252173808DBE; Thu, 21 May 2009 09:56:24 +0200 (CEST) Date: Thu, 21 May 2009 09:56:24 +0200 From: Vincent Lefevre To: Greg Klanderman Cc: zsh-workers@sunsite.dk, 512308-forwarded@bugs.debian.org Subject: Re: PATCH: Re: Bug#512308: zsh: out-of-date completions for svn revert Message-ID: <20090521075624.GO27141@prunille.vinc17.org> Mail-Followup-To: Greg Klanderman , zsh-workers@sunsite.dk, 512308-forwarded@bugs.debian.org References: <20090119145520.GA29602@vin.lip.ens-lyon.fr> <20090119150602.GA3752@scru.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.19-5808-vl-r28634 (2009-05-15) X-Virus-Scanned: ClamAV 0.94.2/9377/Thu May 21 04:57:18 2009 on bifrost X-Virus-Status: Clean On 2009-05-17 22:34:01 -0400, Greg Klanderman wrote: > Here's a patch to fix this svn completion problem reported back in > January [workers #26367].. things were even worse than it appeared > because the key used for caching 'svn status' output for a directory > was the relative directory path, which would usually be '.' so if you > cd'd around it would have exhibited worse problems. It's now caching > based on the directory device and inode, and using the mtime of the > .svn/entries file to invalidate a cached entry. Thanks! I've done some tests and it seems to work well. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)