[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: working copy corruption when network connection lost

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-01-07 21:54:20 CET

Philip Martin <philip@codematters.co.uk> writes:

> What determines when postfix text deltas are sent? The new diff
> editors don't do reference counting, perhaps they should. They seem to
> work at the moment, but then I don't appear to be getting postfix text
> deltas.

Wow, this project is so old (1.5 years?), it's actually developing a
history. Gather round the fire, kids...

"Postfix text deltas" were invented for commits; this technique allows
the server to reject the commit before any filedata is sent.

In the Early Days, before we had any RA layers at all, subversion M1
did nothing but interact with xml files: it checked-out,
committed to, and updated from xml files. When we were writing the
first draft of the wc update editor, it was important that it be able
to accept either normal (inline) or postfix text deltas. After all,
the xml files produced by commits were *always* in postfix style.

Nowadays, it's really just a vestige feature of the wc update editor.
While we continue to use postfix style when committing, the server now
-only- uses inline-style for updates. (This is because every update
is driven by svn_repos_dir_delta()).

And that's the whole story. Aren't you glad you asked? :-)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:55 2006

This is an archived mail posted to the Subversion Dev mailing list.