1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-12 20:23:02 +01:00
git/contrib/svn-fe
Florian Achleitner 16a7185447 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>
2012-10-07 14:10:17 -07:00
..
.gitignore contrib/svn-fe: Add the svn-fe target to .gitignore 2010-08-03 06:49:22 -07:00
Makefile
svn-fe.c remote-svn: add incremental import 2012-10-07 14:10:17 -07:00
svn-fe.txt correct spelling: an URL -> a URL 2012-03-28 08:47:23 -07:00
svnrdump_sim.py Add a svnrdump-simulator replaying a dump file for testing 2012-10-07 14:10:17 -07:00