Skip to content

WIP: Export SVN properties to files

Bert Wesarg requested to merge bertwesarg/reposurgeon:export-properties into master

Do not merge as is.

This is a proof of concept, to convert selected SVN properties into POD files. Because of shortcomings from the SVN dump format it is necessary to list the converted properties explicitly. For example, if a path with properties attached is removed, no property changes are recorded in the dump. Thus one needs to blindly created node actions for all selceted properties.

The resulting file names for properties have the following schema:

  • file properties on file:

    • directory component: dir
    • filename component: file
    • property name: proerty
    • result: dir/.#property#file
  • directory properties on file:

    • directory component: dir
    • property name: property
    • result: dir/.#property

Having the properties as files allows them to be converted in a post processing step in the resulting repository (i.e., can be converted to Git attributes).

This has a great slowdown in the conversion process, I see for one property (svn:externals) a slow down from previously 50 seconds to over 4 minutes. In total I convert 4 properties and end up with a conversion time of 12 minutes than.

Merge request reports