Skip to content

Commit f43ad63

Browse files
committed
Add a parameter to make the commitlog script useful for other branches than the current.
- Legacy-Id: 4386
1 parent c3ad0b5 commit f43ad63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/commitlog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
svn log $PWD -r 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 | fold -sbw76 | sed -r 's/^([^ ].*)$/ &/'
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/^([^ ].*)$/ &/'

0 commit comments

Comments
 (0)