Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: svn commit completion
- X-seq: zsh-workers 24509
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx, Vadim Zeitlin <vz-zsh@xxxxxxxxxxxx>, 342347@xxxxxxxxxxxxxxx
- Subject: Re: svn commit completion
- Date: Fri, 1 Feb 2008 13:24:58 +0100
- In-reply-to: <20080131170647.GA4876@xxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx, Vadim Zeitlin <vz-zsh@xxxxxxxxxxxx>, 342347@xxxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <47A07DB2.7080604@xxxxxxxxx> <2d460de70801310741x3b6796c6ib87d0323cc165ab2@xxxxxxxxxxxxxx> <20080131165506.CACC68029406@xxxxxxxxxxxxxxxxxx> <20080131170647.GA4876@xxxxxxxxxxx>
On 2008-01-31 12:06:47 -0500, Clint Adams wrote:
> [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.
Note that this is not sufficient if you use another shell session
to call svn (I frequently do that).
> Repeating what I said at http://bugs.debian.org/342347 ,
> maybe a very short cache expiration is the way to go.
Yes, maybe. Or can't something like FAM[*] optionally be used when
supported? (Note: if it is used, it should be a run-time option,
as I'm not sure that FAM is OK with all NFS servers.)
[*] http://en.wikipedia.org/wiki/File_alteration_monitor
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author