diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mk-patch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mk-patch.sh b/scripts/mk-patch.sh index 2cd45290..3489d9de 100755 --- a/scripts/mk-patch.sh +++ b/scripts/mk-patch.sh @@ -34,7 +34,7 @@ hg -R "${repos}" log -b "${branch}" -r "${r1}:tip" --template '{rev}\n' \ continue fi plog=$( hg -R "${repos}" log -r ${rev} --template '{desc|firstline}\n' \ - |sed -r -e 's,[/ :]+,_,g;' \ + |sed -r -e 's,[/:,[:space:]],_,g; s/_+/_/g;' \ ) pname="${p}-${plog}.patch" printf "Revision '%d' --> '%s'\n" ${rev} "${pname}" |