SVN: rc-scripts/trunk/changelog.sh

glen glen at pld-linux.org
Thu Jan 11 15:19:36 CET 2007


Author: glen
Date: Thu Jan 11 15:19:35 2007
New Revision: 8149

Modified:
   rc-scripts/trunk/changelog.sh
Log:
Autodetect svn path.

Modified: rc-scripts/trunk/changelog.sh
==============================================================================
--- rc-scripts/trunk/changelog.sh	(original)
+++ rc-scripts/trunk/changelog.sh	Thu Jan 11 15:19:35 2007
@@ -22,7 +22,9 @@
 
 awk -F":" ' { login=$1; if ($3 != "") { name=$3 } else { name=$1 }; email=$2; printf "%s\t%s <%s at pld-linux.org>\n", login, name, login } ' $users > $tmp
 
-svn log -v --xml | svn2log --users-charset=ISO8859-2 --domain "pld-linux.org" -p /rc-scripts/trunk -u $tmp --exclude ChangeLog -o ChangeLog
+branch=$(svn info | awk '/URL:/{print $NF}' | sed -e 's,^.*svn.pld-linux.org/svn,,')
+
+svn log -v --xml | svn2log --users-charset=ISO8859-2 --domain "pld-linux.org" -p $branch -u $tmp --exclude ChangeLog -o ChangeLog
 rm -f $tmp
 
 # obfuscate emails <user at domain> and (user at domain)


More information about the pld-cvs-commit mailing list