Commit 60edf46f authored by Wei-Yin Chen (陳威尹)'s avatar Wei-Yin Chen (陳威尹) Committed by Commit Bot

Revert "Amend dom-distiller script for bug ID handling"

This reverts commit ed8ef709.

Reason for revert: space after "," is buggy

Original change's description:
> Amend dom-distiller script for bug ID handling
> 
> "None" would be ignored, and add space after ",".
> 
> Bug: None
> Change-Id: I85167f2e9ba0cea7affd754825fd34e817568bd5
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2304337
> Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
> Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#789569}

TBR=dmazzoni@chromium.org,wychen@chromium.org

Change-Id: I9be25d3af31be50e0ee3a608091c31a5b1c2ff6e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: None
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2304960Reviewed-by: default avatarWei-Yin Chen (陳威尹) <wychen@chromium.org>
Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#789596}
parent 9bfa6f45
......@@ -43,12 +43,12 @@
# rejoin. Finally, remove the trailing ',' and concat to $bugs.
git log ${curr_gitsha}..${new_gitsha} \
| grep -E 'BUG=|Bug:' \
| sed -e 's/.*\(BUG=\|Bug:\)\(.*\)/\2/' -e 's/\s*//g' -e '/^$/d' -e '/None/d' \
| sed -e 's/.*\(BUG=\|Bug:\)\(.*\)/\2/' -e 's/\s*//g' -e '/^$/d' \
| tr ',' '\n' \
| sort \
| uniq \
| tr '\n' ', ' \
| head --bytes=-2 \
| tr '\n' ',' \
| head --bytes=-1 \
>> $bugs
echo >> $bugs # add a newline
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment