summaryrefslogtreecommitdiff
path: root/levenshtein.c
diff options
context:
space:
mode:
authorLibravatar Florian Achleitner <florian.achleitner.2.6.31@gmail.com>2012-09-19 17:21:28 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-10-07 14:10:17 -0700
commit16a7185447e28312d5e316b92b7d3d37cb25b079 (patch)
treee13ed0e3e4a64a15f7590e7cd9839ad40a3b30f0 /levenshtein.c
parentremote-svn: add incremental import (diff)
downloadtgif-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 'levenshtein.c')
0 files changed, 0 insertions, 0 deletions