>>>>> Clint Adams writes: > 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? Here's a patch to fix this svn completion problem reported back in January [workers #26367].. things were even worse than it appeared because the key used for caching 'svn status' output for a directory was the relative directory path, which would usually be '.' so if you cd'd around it would have exhibited worse problems. It's now caching based on the directory device and inode, and using the mtime of the .svn/entries file to invalidate a cached entry. cheers, Greg