summaryrefslogtreecommitdiff
path: root/t/t7503-pre-commit-hook.sh
diff options
context:
space:
mode:
authorLibravatar Eric Wong <normalperson@yhbt.net>2009-01-17 22:11:44 -0800
committerLibravatar Eric Wong <normalperson@yhbt.net>2009-01-18 15:38:28 -0800
commit1ef626b4b6c70fc13062faafdccb2f0da7578a29 (patch)
tree9d0b02e66fed8905d96ef136a6c50e4ea60bb465 /t/t7503-pre-commit-hook.sh
parentgit-svn: Add --localtime option to "fetch" (diff)
downloadtgif-1ef626b4b6c70fc13062faafdccb2f0da7578a29.tar.xz
git-svn: fix SVN 1.1.x compatibility
The get_log() function in the Perl SVN API introduced the limit parameter in 1.2.0. However, this got discarded in our SVN::Ra compatibility layer when used with SVN 1.1.x. We now emulate the limit functionality in older SVN versions by preventing the original callback from being called if the given limit has been reached. This emulation is less bandwidth efficient, but SVN 1.1.x is becoming rarer now. Additionally, the --limit parameter in svn(1) uses the aforementioned get_log() functionality change in SVN 1.2.x. t9129 no longer depends on --limit to work and instead uses Perl to parse out the commit message. Thanks to Tom G. Christensen for the bug report. Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 't/t7503-pre-commit-hook.sh')
0 files changed, 0 insertions, 0 deletions