Mark Moe wrote on Mon, Aug 20, 2012 at 14:38:43 -0500: > > Now, if we can find a way to expose the revprops to the start-commit hook, > > all three RA layers should be able to provide early detection of commits > > that would fail in pre-commit for revprop-related reasons. (And we should > > consider this independently of the whole client-version capability stuff.) > > The ideal solution (for me) would be a start-commit hook that could > query a temporary transaction that had everything (except actual file > content) just like pre-commit can.
Mike covered the details, but the high-level is this: start-commit _cannot_ have access to all the data that pre-commit can, for the simple reason that the server receives some data from the client after start-commit but before pre-commit. (And, naturally, if it weren't that way, we would deprecate one of the hooks and subsume it into the other) Specifically, start-commit is before the client uplods all the file contents modifications.