Use svn2cl --reparagraph option for better ChangeLog formatting.
authorZac Medico <zmedico@gentoo.org>
Fri, 14 Nov 2008 09:45:07 +0000 (09:45 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 14 Nov 2008 09:45:07 +0000 (09:45 -0000)
svn path=/main/branches/2.1.6/; revision=11906

mkrelease.sh

index 4a70b23a5499eccf1d9505d7456da2eb750a6fc6..b0be479a5a45fcca45328a919b0201df9a9c8d3c 100755 (executable)
@@ -67,9 +67,9 @@ echo ">>> Starting Subversion export"
 svn export "${SVN_LOCATION}" "${SOURCE_DIR}" > /dev/null || die "svn export failed"
 
 echo ">>> Creating Changelog"
-svn2cl_opts=
-[ -n $CHANGELOG_REVISION ] && svn2cl_opts=HEAD:$CHANGELOG_REVISION
-svn2cl -r $svn2cl_opts -i -o "${SOURCE_DIR}/ChangeLog" "${SVN_LOCATION}" \
+svn2cl_opts="-i --reparagraph"
+[ -n $CHANGELOG_REVISION ] && svn2cl_opts+=" -r HEAD:$CHANGELOG_REVISION"
+svn2cl $svn2cl_opts -o "${SOURCE_DIR}/ChangeLog" "${SVN_LOCATION}" \
        || die "ChangeLog creation failed"
 
 echo ">>> Building release tree"