You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Giorgio Valoti <gi...@mac.com> on 2005/06/06 06:58:24 UTC

Translation: request for clarification for two messages

Hi all,
I'm having some problem translating these two messages:

#: svndumpfilter/main.c:638
#, fuzzy
msgid "Delta property block detected - not supported by svndumpfilter"

#: libsvn_delta/svndiff.c:535
#, fuzzy
msgid "Svndiff has backwards-sliding source views"

Please, could someone explain the meaning of these messages? I tried to 
look at the source without much luck.

Thank you in advance

--
Giorgio Valoti
--------------


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

Re: Translation: request for clarification for two messages

Posted by Giorgio Valoti <gi...@mac.com>.
On 06/giu/05, at 17:16, Greg Hudson wrote:

> 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.

> [...]

Thank you Greg, that was enough to have a clearer picture.


Ciao

--
Giorgio Valoti
--------------


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

Re: Translation: request for clarification for two messages

Posted by Greg Hudson <gh...@MIT.EDU>.
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