zsh-workers
 help / color / mirror / code / Atom feed
From: Vincent Lefevre <vincent@vinc17.org>
To: zsh-workers@sunsite.dk, Vadim Zeitlin <vz-zsh@zeitlins.org>,
	342347@bugs.debian.org
Subject: Re: svn commit completion
Date: Fri, 1 Feb 2008 13:24:58 +0100	[thread overview]
Message-ID: <20080201122458.GT17147@prunille.vinc17.org> (raw)
In-Reply-To: <20080131170647.GA4876@scowler.net>

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@vinc17.org> - 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)


      reply	other threads:[~2008-02-01 12:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <47A07DB2.7080604@cam.ac.uk>
     [not found] ` <2d460de70801310741x3b6796c6ib87d0323cc165ab2@mail.gmail.com>
     [not found]   ` <20080131165506.CACC68029406@bifrost.dotsrc.org>
2008-01-31 17:06     ` Clint Adams
2008-02-01 12:24       ` Vincent Lefevre [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080201122458.GT17147@prunille.vinc17.org \
    --to=vincent@vinc17.org \
    --cc=342347@bugs.debian.org \
    --cc=vz-zsh@zeitlins.org \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).