Show More
@@ -3,18 +3,18 b'' | |||
|
3 | 3 | # Enforce some consistency in whitespace - just to avoid spurious whitespaces changes |
|
4 | 4 | |
|
5 | 5 | files=`hg loc '*.py' '*.html' '*.css' '*.rst' '*.txt' '*.js' | egrep -v '/lockfiles.py|LICENSE-MERGELY.html|/codemirror/|/fontello/|(graph|mergely|native.history|select2/select2|yui.flot|yui.2.9)\.js$'` |
|
6 | sed -i "s,`printf '\t'`, ,g" $files | |
|
7 | sed -i "s, *$,,g" $files | |
|
8 | # add trailing newline if missing: | |
|
9 | sed -i '$a\' $files | |
|
6 | sed -i -e "s,`printf '\t'`, ,g" $files | |
|
7 | sed -i -e "s, *$,,g" $files | |
|
8 | # ensure one trailing newline - remove empty last line and make last line include trailing newline: | |
|
9 | sed -i -e '$,${/^$/d}' -e '$a\' $files | |
|
10 | 10 | |
|
11 | sed -i 's,\([^ /]\){,\1 {,g' `hg loc '*.css'` | |
|
12 | sed -i 's|^\([^ /].*,\)\([^ ]\)|\1 \2|g' `hg loc '*.css'` | |
|
11 | sed -i -e 's,\([^ /]\){,\1 {,g' `hg loc '*.css'` | |
|
12 | sed -i -e 's|^\([^ /].*,\)\([^ ]\)|\1 \2|g' `hg loc '*.css'` | |
|
13 | 13 | |
|
14 | sed -i 's/^\( [^: ]*\) *: *\([^/]\)/\1: \2/g' kallithea/public/css/{style,contextbar}.css | |
|
15 | sed -i '1s|, |,|g' kallithea/public/css/{style,contextbar}.css | |
|
16 | sed -i 's/^\([^ ,/]\+ [^,]*[^ ,]\) *, *\(.\)/\1,\n\2/g' kallithea/public/css/{style,contextbar}.css | |
|
17 | sed -i 's/^\([^ ,/].*\) */\1 /g' kallithea/public/css/{style,contextbar}.css | |
|
18 | sed -i 's,^--$,-- ,g' kallithea/templates/email_templates/main.txt | |
|
14 | sed -i -e 's/^\( [^: ]*\) *: *\([^/]\)/\1: \2/g' kallithea/public/css/{style,contextbar}.css | |
|
15 | sed -i -e '1s|, |,|g' kallithea/public/css/{style,contextbar}.css | |
|
16 | sed -i -e 's/^\([^ ,/]\+ [^,]*[^ ,]\) *, *\(.\)/\1,\n\2/g' kallithea/public/css/{style,contextbar}.css | |
|
17 | sed -i -e 's/^\([^ ,/].*\) */\1 /g' kallithea/public/css/{style,contextbar}.css | |
|
18 | sed -i -e 's,^--$,-- ,g' kallithea/templates/email_templates/main.txt | |
|
19 | 19 | |
|
20 | 20 | hg diff |
General Comments 0
You need to be logged in to leave comments.
Login now