From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8123 invoked from network); 19 Jan 2009 15:06:18 -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 news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Jan 2009 15:06:18 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 91334 invoked from network); 19 Jan 2009 15:06:14 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Jan 2009 15:06:14 -0000 Received: (qmail 13461 invoked by alias); 19 Jan 2009 15:06:09 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26367 Received: (qmail 13447 invoked from network); 19 Jan 2009 15:06:08 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 19 Jan 2009 15:06:08 -0000 Received: from cork.scru.org (cork.scru.org [209.20.67.2]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 8269E80271F0 for ; Mon, 19 Jan 2009 16:06:04 +0100 (CET) Received: by cork.scru.org (Postfix, from userid 1000) id E07471040CD; Mon, 19 Jan 2009 15:06:02 +0000 (UTC) Date: Mon, 19 Jan 2009 15:06:02 +0000 From: Clint Adams To: zsh-workers@sunsite.dk Cc: Vincent Lefevre , 512308-forwarded@bugs.debian.org Subject: Re: Bug#512308: zsh: out-of-date completions for svn revert Message-ID: <20090119150602.GA3752@scru.org> Mail-Followup-To: zsh-workers@sunsite.dk, Vincent Lefevre , 512308-forwarded@bugs.debian.org References: <20090119145520.GA29602@vin.lip.ens-lyon.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090119145520.GA29602@vin.lip.ens-lyon.fr> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV 0.92.1/8877/Mon Jan 19 11:18:35 2009 on bifrost X-Virus-Status: Clean On Mon, Jan 19, 2009 at 03:55:20PM +0100, Vincent Lefevre wrote: > Once completions have been done, information for "svn revert" > can become out-of-date. Let's see the problem on an example, > in an empty working copy: > > $ touch blah1 > $ svn add blah1 > $ svn revert [TAB] > > This one completes to "svn revert blah1" as expected. Type [Enter]. > > $ touch blah2 > $ svn add blah2 > $ svn revert [TAB] > > This one completes to "svn revert blah1" again, while it should have > completed to "svn revert blah2". Is there a timestamp that the 'svn add' will touch so we could compare it with the cache age?