On Apr 23, 2012 1:12 PM, "Hyrum K Wright" <[email protected]> wrote: > > On Mon, Apr 23, 2012 at 12:08 PM, Greg Stein <[email protected]> wrote: > > > > On Apr 23, 2012 8:00 AM, "Hyrum K Wright" <[email protected]> wrote: > >>... > > > > > >> I added an Ev2 capability to svn_ra.h on the ev2-export branch, which > >> we could use to check the ability of the client and/or server to > >> receiver Ev2-encoded deltas. Feel free to poach the one-line patch. > > > > I'm not sure it is needed. How would the client use it? > > To determine if the server is Ev2 capable? We've got to have *some* > method of doing so, and the existing capabilities mechanism was built > just for that purpose.
But is that an RA constant, or something under the covers? ie. does that need to be in svn_ra.h for client consumption, or can RA determine that privately and compensate? For example, ra_dav can do everything but the symlink operations and rotate(). Those will need to query the server to determine whether to use new/old marshalling. But to the svn_ra user, it is always available. For ra_local, it is always available at both internal/client levels. Cheers, -g

