From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26661 invoked from network); 31 Jan 2008 17:07:06 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) 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.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 31 Jan 2008 17:07:06 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 22441 invoked from network); 31 Jan 2008 17:07:02 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 31 Jan 2008 17:07:02 -0000 Received: (qmail 28236 invoked by alias); 31 Jan 2008 17:06:59 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24504 Received: (qmail 28222 invoked from network); 31 Jan 2008 17:06:59 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 31 Jan 2008 17:06:59 -0000 Received: from acolyte.scowler.net (acolyte.scowler.net [216.254.112.45]) by bifrost.dotsrc.org (Postfix) with ESMTP id AC0FF8029406 for ; Thu, 31 Jan 2008 18:06:47 +0100 (CET) Received: by acolyte.scowler.net (Postfix, from userid 1000) id 0A90F5C1A4; Thu, 31 Jan 2008 12:06:46 -0500 (EST) Date: Thu, 31 Jan 2008 12:06:47 -0500 From: Clint Adams To: zsh-workers@sunsite.dk Cc: Vadim Zeitlin , 342347@bugs.debian.org Subject: Re: svn commit completion Message-ID: <20080131170647.GA4876@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk, Vadim Zeitlin , 342347@bugs.debian.org References: <47A07DB2.7080604@cam.ac.uk> <2d460de70801310741x3b6796c6ib87d0323cc165ab2@mail.gmail.com> <20080131165506.CACC68029406@bifrost.dotsrc.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080131165506.CACC68029406@bifrost.dotsrc.org> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: ClamAV 0.91.2/5627/Thu Jan 31 17:15:25 2008 on bifrost X-Virus-Status: Clean [moved to -workers] On Thu, Jan 31, 2008 at 05:55:06PM +0100, Vadim Zeitlin wrote: > Actually "svn ci" does complete only modified (or added, removed) files > here (zsh 4.3.2 under Debian Linux), but the problem is that these files > are remembered by the completer in a global _cache_svn_status variable > which is never updated. I don't really know what's the best way of fixing > it but for now I've just done "precmd() { unset _cache_svn_status }" and > "svn ci" completes correctly all the time and not just the first one. Repeating what I said at http://bugs.debian.org/342347 , maybe a very short cache expiration is the way to go.