/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# Log subversion commits to a file. Useful for changelogs. # # one commit per-line, in the format: # UTC_DATE_STRING | author | commit message # # Will store the log inside the repo directory, in a file called "log" REPOS="$1" REV="$2" LOG="log" lognote=`svnlook date $REPOS` lognote="$lognote | `svnlook author $REPOS`" lognote="$lognote | `svnlook log $REPOS`" echo $lognote >> ${REPOS}/${LOG}