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

tools enabling editing of svn dumpfiles by mapping to a directory and back

From: Daniel S. Wilkerson <dsw_at_cs.berkeley.edu>
Date: 2006-10-11 06:48:39 CEST

I just wrote some Subversion dumpfile utilities that I thought you
might want to know about.

I found that I needed to hack on the history of a Subversion
repository, but this is impossible in its raw form. Of course
Subversion will dump out its state to a "dump file", but the format
quotes embedded files with embedded length fields, making the file
hard to edit and impossible to patch. However if exploded to a
directory, the *filesystem* is maintaining the counts for you and
patch works fine.

Therefore using my utilities you can 1) dump out the svn history, 2)
convert to a directory, 3) patch or edit it, 4) convert back to a
dumpfile, and 5) reload that dumpfile into a new svn repository. You
might also prefer using my simple_patch script as it doesn't do as
much as the standard patch, such as ask you questions when the file it
is trying to patch is missing.

All of these scripts are on my homepage: www.cs.berkeley.edu/~dsw/
We may move them to a general tools project at some point in the
future.

Daniel Wilkerson

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 15 21:43:40 2006

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