#342347 zsh: _cache_svn_status makes subversion completion fail after a change

Package:
zsh
Source:
zsh
Description:
shell with lots of features
Submitter:
Vincent Lefevre
Date:
2012-12-20 22:21:10 UTC
Severity:
normal
#342347#5
Date:
2005-12-07 10:48:54 UTC
From:
To:
The "svn status" result is cached by _subversion in $_cache_svn_status,
but the cache is not updated after a modification of the files (which
may lead to a change in the "svn status" result). Therefore later svn
completions sometimes fail.

IMHO, it would be sufficient to clear the cache at the next prompt
in practice. The files may be modified by another process while a
svn command is still being typed, but this wouldn't be common.

#342347#8
Date:
2007-09-30 16:33:41 UTC
From:
To:
Maybe use the caching layer and expire it after 10 seconds?
#342347#13
Date:
2008-01-31 17:06:47 UTC
From:
To:
[moved to -workers]

Repeating what I said at http://bugs.debian.org/342347 ,
maybe a very short cache expiration is the way to go.

#342347#16
Date:
2008-01-31 17:06:47 UTC
From:
To:
[moved to -workers]

Repeating what I said at http://bugs.debian.org/342347 ,
maybe a very short cache expiration is the way to go.

#342347#21
Date:
2008-02-01 12:24:58 UTC
From:
To:
Note that this is not sufficient if you use another shell session
to call svn (I frequently do that).

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