summaryrefslogtreecommitdiff
path: root/vcs-svn/line_buffer.h
diff options
context:
space:
mode:
authorFlorian Achleitner <florian.achleitner.2.6.31@gmail.com>2012-09-19 15:21:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-10-07 21:10:17 (GMT)
commit16a7185447e28312d5e316b92b7d3d37cb25b079 (patch)
treee13ed0e3e4a64a15f7590e7cd9839ad40a3b30f0 /vcs-svn/line_buffer.h
parent8e43a1d010e22a0e432de440b08cc4389d8370f9 (diff)
downloadgit-16a7185447e28312d5e316b92b7d3d37cb25b079.zip
git-16a7185447e28312d5e316b92b7d3d37cb25b079.tar.gz
git-16a7185447e28312d5e316b92b7d3d37cb25b079.tar.bz2
Add a svnrdump-simulator replaying a dump file for testing
To ease testing without depending on a reachable svn server, this compact python script mimics parts of svnrdumps behaviour. It requires the remote url to start with sim://. Start and end revisions are evaluated. If the requested revision doesn't exist, as it is the case with incremental imports, if no new commit was added, it returns 1 (like svnrdump). To allow using the same dump file for simulating multiple incremental imports, the highest revision can be limited by setting the environment variable SVNRMAX to that value. This simulates the situation where higher revs don't exist yet. Signed-off-by: Florian Achleitner <florian.achleitner.2.6.31@gmail.com> Acked-by: David Michael Barr <b@rr-dav.id.au> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'vcs-svn/line_buffer.h')
0 files changed, 0 insertions, 0 deletions