Don't retrieve the contents of *mutable* directories from the dir cache, because they might have been changed by another FS object. (To make this change as minimal as possible, we still do save them into the cache; we just don't retrieve them.)
Don't retrieve the contents of *mutable* directories from the dir
cache, because they might have been changed by another FS object.
(To make this change as minimal as possible, we still do save them
into the cache; we just don't retrieve them.)

This fixed a user-reported error where some changes made by a
pre-commit txn don't "stick", because the cache of the root node
contents in the server process doesn't get invalidated when the hook
makes changes.  (It's the root node because the cache only stores one
directory per "rev", and that's the last one cached in "rev" -1.)  One
can imagine other circumstances where this would be problematic as
well.

* subversion/libsvn_fs_fs/fs_fs.c
  (svn_fs_fs__rep_contents_dir): Don't look in the cache for mutable
   directory contents.

Reported by: Dmitry Konyshev <dmitry.konyshev@gmail.com>


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@867330 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion