svndump - Recalculate checksum in SVN dump after manual changes -
as migrating project public source hosting, wanted remove “personal” information svn repository. did fine far removing paths or revisions using svndumptool
, svndumpfilter
. want remove text particular file in repository well.
i removed text manually regex’ing dump , worked fine, when want use dump, checksum mismatch. because changed file didn't update checksum.
is there tool recalculates checksum files in dump? or there good editing tool files (should allow regex replacements) inside svn dump updates checksum?
okay, didn't want wait longer answers, wrote script myself, share you. utilizes svndumptool, or rather library. custom actions required edit source (and know bit python). simple example included , think abstraction script provides quite good.
anyway, hope useful me, although took me quite while working that:
svndumptooledit.py on github.
Comments
Post a Comment