Add a parameter to make the commitlog script useful for other branches than the current.
- Legacy-Id: 4386
This commit is contained in:
parent
c3ad0b53e4
commit
f43ad63520
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
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/^([^ ].*)$/ &/'
|
||||
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/^([^ ].*)$/ &/'
|
||||
|
|
Loading…
Reference in a new issue