[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[RFC] svndumptool.py

From: Martin Furter <mf_at_rola.ch>
Date: 2005-03-14 03:46:20 CET

Hello

About a year ago i wrote svndumpmerge.py, a tool for merging dump files.

Then in november i made a hack to fix the EOL's in the mono repository,
but we decided to not use that hack because the risk for the source code
was too high.

I started to cleanup the source for svndumpmerge.py and that EOL fix tool.
The result is a python package and a commandline tool, you can find it at
http://queen.borg.ch:81/subversion/

Features are:
 - diff: compare two dump files
 - eolfix: fix EOL's in a dump file
 - merge: merge dump files
 - documentation for all classes and functions
 - (incomplete) test suite

State (version 0.2 r229):
 - diff:
   No known bugs.

 - eolfix:
   - mode 'prop'
     Untested.
   - mode 'regexp'
     Tested with the test suite and with the mono dump, works.
     There's an edge case which isn't handled: When a file is copied
     and the new name is a text file and the old name is a binary file
     the old revisions will not be converted, the revision where the
     file is copied is only converted if there was a text change.

 - merge:
   Untested.

I think svndumptool.py and the svndump package could be useful for others
too, so maybe you want to include it in the main svn repos in contrib.

If you want to include it we should talk about the license. At the moment
it's under GPL (except OrderedDict which i've stolen from innoconda). If
you prefer the SVN license i'll change it. I don't care which of those
licenses it uses, the important thing is that it has one.

What do you think?

Comments, feature requests, complaints, ... everything is welcome :)

Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 14 03:48:01 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.