Skip to content

Commit 52b6009

Browse files
committed
Tweaked bin/mkpatch some for -c handling
- Legacy-Id: 17444
1 parent 9acd467 commit 52b6009

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/mkpatch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ done
106106
# The program itself
107107

108108
if [ "$CHG" ]; then
109-
name=$(echo $(svn log -c $CHG | sed -r -e '/^---/d' -e '/^r[0-9]+/d' -e '/^$/d') | sed -r -e 's/(.*)/\L\1/' -e 's/[^[:alnum:]]/-/g' -e 's/-+/-/g' | cut -c 1-32)
109+
name=$(echo $(svn log -c $CHG | sed -r -e '/^---/d' -e '/^r[0-9]+/d' -e '/^$/d' -e 's/Merged in \[[0-9]+\] from [^:]+..//' ) | sed -r -e 's/(.*)/\L\1/' -e 's/[^[:alnum:]]/-/g' -e 's/-+/-/g' | cut -c 1-40)
110110
name="$name-c$CHG"
111111
else
112112
if [ $# -lt 2 ]; then die "Expected patch name and file list on the command line."; fi

0 commit comments

Comments
 (0)