2

I want to use my svn log as debian/changelog file used by dpkg-buildpackage in package building.

I tried svn2cl in subversion-tools package to create a changelog from svn log but it is not formatted as a standard debian changelog.

amin
  • 621
  • 1
  • 8
  • 20

1 Answers1

4

The best would be to create XSLT stylesheet and process the svn output to suite your needs.

# svn log --xml --verbose | xsltproc svn2cl.xsl - > changeLog

You can modify the one provided by svn2cl.

Additionally, there is a script that Thomas Lange wrote available here, but still I would suggest using regular XSL over a custom script.

BTW, svn-buildpackage have this functionality build in, although it does require you to follow a very strict procedure of handling a package in SVN repo...

Łukasz Rżanek
  • 5,786
  • 27
  • 37