author | Jonathan Nieder <jrnieder@gmail.com> | |
Wed, 13 Oct 2010 09:50:07 +0000 (04:50 -0500) | ||
committer | Jonathan Nieder <jrnieder@gmail.com> | |
Mon, 28 Mar 2011 04:28:27 +0000 (23:28 -0500) | ||
commit | d3f131b57ec0e69a37bca882fa6bf39aa4c1c387 | |
tree | bfef23ef1c2f350eb8c1c813d2b2fa51f7884b4b | tree | snapshot |
parent | 4c9b93ed7644a7a7c72bdd8105d88a9ebb8e3e74 | commit | diff |
vcs-svn: let deltas use data from postimage
The copyfrom_target instruction copies appends data that is already
present in the current output view to the end of output. (The offset
argument is relative to the beginning of output produced in the
current window.)
The region copied is allowed to run past the end of the existing
output. To support that case, copy one character at a time rather
than calling memcpy or memmove. This allows copyfrom_target to be
used once to repeat a string many times. For example:
COPYFROM_DATA 2
COPYFROM_OUTPUT 10, 0
DATA "ab"
would produce the output "ababababababababababab".
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Ramkumar Ramachandra <artagnon@gmail.com>
The copyfrom_target instruction copies appends data that is already
present in the current output view to the end of output. (The offset
argument is relative to the beginning of output produced in the
current window.)
The region copied is allowed to run past the end of the existing
output. To support that case, copy one character at a time rather
than calling memcpy or memmove. This allows copyfrom_target to be
used once to repeat a string many times. For example:
COPYFROM_DATA 2
COPYFROM_OUTPUT 10, 0
DATA "ab"
would produce the output "ababababababababababab".
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Ramkumar Ramachandra <artagnon@gmail.com>
t/t9011-svn-da.sh | diff | blob | history | |
vcs-svn/svndiff.c | diff | blob | history |