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

Re: Translation: request for clarification for two messages

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-06-06 17:16:07 CEST

On Mon, 2005-06-06 at 08:58 +0200, Giorgio Valoti wrote:
> msgid "Svndiff has backwards-sliding source views"

The binary format we use to transmit deltas across the wire is called
svndiff. An svndiff delta is composed of multiple windows. Each window
has a source view (an offset and size) and a target view, and contains
delta instructions for transforming the source view into the targetview.
The svndiff processing code allows source views to skip forward or
overlap, but not go backwards. See notes/svndiff for the gory details.

This error will never happen with properly-functioning Subversion code
and a properly-functioning network layer. If a user sees it, that
indicates either a bug in Subversion, an improperly-written third-party
app acting as a Subversion client or server, or network-layer
corruption.

We have a number of errors like this (an error detected at a low level
which will always be prevented if higher-level code is doing its job),
and it's never been clear exactly what the error messages should say in
those cases. We'll never be able to explain in an error message what a
"backwards-sliding source view" is to the average user, but it's
potentially helpful to provide enough detail to help an expert debug the
problem. The most famous example is probably "working copy not locked",
which happened all the time (and still does, though less often and with
a slightly better phrasing) due to bugs in higher-level code.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 6 17:59:39 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.