diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-10-13 04:35:59 -0500 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2011-03-27 22:51:00 -0500 |
commit | fc4ae43b2cbd53da6ac2a0047fb4e53175921696 (patch) | |
tree | a957c8604baf066e5cc5eb0c8f3f085ee1d10bcf /command-list.txt | |
parent | bcd254621f9a98794cdc32906db10af7135824c4 (diff) | |
download | git-fc4ae43b2cbd53da6ac2a0047fb4e53175921696.tar.gz |
vcs-svn: read inline data from deltas
Each window of an svndiff0-format delta includes a section for novel
text to be copied to the postimage (in the order it appears in the
window, possibly interspersed with other data).
Slurp in this data when encountering it. It is not actually necessary
to do so --- it would be just as easy to copy from delta to output
as part of interpreting the relevant instructions --- but this way,
the code that interprets svndiff0 instructions can proceed very
quickly because it does not require I/O.
Subversion's svndiff0 parser rejects deltas that do not consume all
the novel text that was provided. Omit that check for now so we can
test the new functionality right away, rather than waiting to learn
instructions that consume data.
Do check for truncated data sections. Subversion's parser rejects
deltas that end in the middle of a declared novel-text section, so it
should be safe for us to reject them, too.
Improved-by: Ramkumar Ramachandra <artagnon@gmail.com>
Improved-by: David Barr <david.barr@cordelta.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Ramkumar Ramachandra <artagnon@gmail.com>
Diffstat (limited to 'command-list.txt')
0 files changed, 0 insertions, 0 deletions