Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
all
Description
The WC operations that alter stuff in .svn should be isolated at the code level. It isn't enough to have a human-level policy on what needs to be loggy and what cannot. At some point, a human will miss the policy and create a bug that leaves the WC admin area in an inconsistent state. Specifically, we should have a "open admin area" function that locks the directory, and returns a baton. That baton is then needed to perform modifications, or even to (say) return a pathname to a text-base (preventing a person from modifying the text-base without the lock and its baton). Note that we can also read and cache the entries in the baton, then write them out when the baton is closed (and the log is run and the lock removed), thus optimizing the whole multiple read/write of the entries that we're doing now.
Attachments
Issue Links
- blocks
-
SVN-703 Successful commit + failed post-commit = badness?
-
- Closed
-
- depends upon
-
SVN-3357 Working Copy - Next Generation Library
-
- Closed
-
- is blocked by
-
SVN-3357 Working Copy - Next Generation Library
-
- Closed
-
- is depended upon by
-
SVN-703 Successful commit + failed post-commit = badness?
-
- Closed
-
- is duplicated by
-
SVN-796 svn_wc_process_committed incompatible with access-baton system
-
- Closed
-
-
SVN-628 make update-editor more crashproof
-
- Closed
-
(1 is duplicated by)