aboutsummaryrefslogtreecommitdiff
path: root/transport.c
diff options
context:
space:
mode:
authorFlorian Achleitner <florian.achleitner.2.6.31@gmail.com>2012-09-19 17:21:28 +0200
committerJunio C Hamano <gitster@pobox.com>2012-10-07 14:10:17 -0700
commit16a7185447e28312d5e316b92b7d3d37cb25b079 (patch)
treee13ed0e3e4a64a15f7590e7cd9839ad40a3b30f0 /transport.c
parent8e43a1d010e22a0e432de440b08cc4389d8370f9 (diff)
downloadgit-16a7185447e28312d5e316b92b7d3d37cb25b079.tar.gz
git-16a7185447e28312d5e316b92b7d3d37cb25b079.tar.xz
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 'transport.c')
0 files changed, 0 insertions, 0 deletions