You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Karl Fogel <kf...@newton.ch.collab.net> on 2001/11/20 21:45:14 UTC

svn_delta_edit_fns_t function rename coming up...

Ben suggested a while back that the replace_* functions in editors be
renamed to open_*, since that's a better match for their semantics.
I'm doing this change right now (it is huuuuuuuge, but long overdue).
One effect is that the wire XML will change too, so that it can
continue to match the function names and match the language humans use
when talking about editor operations.  Thus,

   "<S:replace-blah>...</S:replace-blah>"

will become

   "<S:open-blah>...</S:open-blah>"

in most cases.

In order to avoid an incompatible server upgrade, which would force
everyone to rebuild from a bootstrap tarball or something, we'll have
an upgrade window period, during which the client will understand
*both* the old "replace" language and the new "open" language coming
from the server, and vice versa.  After a few weeks, when everyone's
client has oozed out of the danger zone, we'll knock the compatibility
code out from both and upgrade the server.

So theoretically you'll never notice; but I wanted to mention it here
first in case something goes wrong. :-)

Back into the pits,
-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn_delta_edit_fns_t function rename coming up...

Posted by Ben Collins-Sussman <su...@collab.net>.
Karl Fogel <kf...@newton.ch.collab.net> writes:

> Ben suggested a while back that the replace_* functions in editors be
> renamed to open_*, since that's a better match for their semantics.

Yeah, really, it's confusing.  If you want to edit a file, or descend
into a directory, it makes no sense to say you're "replacing" it.
You're "opening" it, no?  It especially makes sense, since each of
these functions is already paired with a "close" routine.

I'm really looking forward to this rename.  I think it's worth the
pain.  :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org