Skip to content

Commit e81ce38

Browse files
committed
Tweaked utility script.
- Legacy-Id: 6200
1 parent 6460a7e commit e81ce38

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bin/commitlog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/bin/bash
2-
svn log -r HEAD:${1:-BASE} ${2:-$PWD} | sed -n -e 's/^/ * /' -e '1,/^ \* Set version info and settings back to development mode/p' | egrep -v -- '^ \* (----------|r[0-9]+ |$)' | head -n -1 | fold -sbw76 | sed -r 's/^([^ ].*)$/ &/'
2+
svn log $PWD -r ${2:-HEAD}:${1:-BASE} | sed -n -e 's/^/ * /' -e '1,/^ \* Set version info and settings back to development mode/p' | egrep -v -- '^ \* (----------|r[0-9]+ |$)' | head -n -1 | tac | sed 's/$/\n/' | fold -s -w 76 | sed -r 's/^([^ ])/ \1/'
3+
date +" -- Henrik Levkowetz <henrik@netnod.se> %d %b %Y %H:%M:%S %z"

0 commit comments

Comments
 (0)