diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-10-13 04:21:43 -0500 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2011-03-27 22:42:53 -0500 |
commit | 252712111fad127db365e3dd764309fe5658679a (patch) | |
tree | 3f28203392bb674751e05fb20908f882aa3d50f8 /t/t8007-cat-file-textconv.sh | |
parent | vcs-svn: skeleton of an svn delta parser (diff) | |
download | tgif-252712111fad127db365e3dd764309fe5658679a.tar.xz |
vcs-svn: parse svndiff0 window header
Each window in a subversion delta (svndiff0-format file) starts with a
window header, consisting of five integers with variable-length
representation:
source view offset
source view length
output length
instructions length
auxiliary data length
Parse it. The result is not usable for deltas with nonempty postimage
yet; in fact, this only adds support for deltas without any
instructions or auxiliary data. This is a good place to stop, though,
since that little support lets us add some simple passing tests
concerning error handling to the test suite.
Improved-by: Ramkumar Ramachandra <artagnon@gmail.com>
Improved-by: David Barr <david.barr@cordelta.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 't/t8007-cat-file-textconv.sh')
0 files changed, 0 insertions, 0 deletions