Show More
@@ -295,4 +295,3 b' class Fixture(object):' | |||||
295 | f_path=filename |
|
295 | f_path=filename | |
296 | ) |
|
296 | ) | |
297 | return cs |
|
297 | return cs | |
298 |
|
@@ -3,18 +3,18 b'' | |||||
3 | # Enforce some consistency in whitespace - just to avoid spurious whitespaces changes |
|
3 | # Enforce some consistency in whitespace - just to avoid spurious whitespaces changes | |
4 |
|
4 | |||
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$'` |
|
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 |
|
6 | sed -i -e "s,`printf '\t'`, ,g" $files | |
7 | sed -i "s, *$,,g" $files |
|
7 | sed -i -e "s, *$,,g" $files | |
8 | # add trailing newline if missing: |
|
8 | # ensure one trailing newline - remove empty last line and make last line include trailing newline: | |
9 | sed -i '$a\' $files |
|
9 | sed -i -e '$,${/^$/d}' -e '$a\' $files | |
10 |
|
10 | |||
11 | sed -i 's,\([^ /]\){,\1 {,g' `hg loc '*.css'` |
|
11 | sed -i -e 's,\([^ /]\){,\1 {,g' `hg loc '*.css'` | |
12 | sed -i 's|^\([^ /].*,\)\([^ ]\)|\1 \2|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 |
|
14 | sed -i -e 's/^\( [^: ]*\) *: *\([^/]\)/\1: \2/g' kallithea/public/css/{style,contextbar}.css | |
15 | sed -i '1s|, |,|g' kallithea/public/css/{style,contextbar}.css |
|
15 | sed -i -e '1s|, |,|g' kallithea/public/css/{style,contextbar}.css | |
16 | sed -i 's/^\([^ ,/]\+ [^,]*[^ ,]\) *, *\(.\)/\1,\n\2/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 's/^\([^ ,/].*\) */\1 /g' kallithea/public/css/{style,contextbar}.css |
|
17 | sed -i -e 's/^\([^ ,/].*\) */\1 /g' kallithea/public/css/{style,contextbar}.css | |
18 | sed -i 's,^--$,-- ,g' kallithea/templates/email_templates/main.txt |
|
18 | sed -i -e 's,^--$,-- ,g' kallithea/templates/email_templates/main.txt | |
19 |
|
19 | |||
20 | hg diff |
|
20 | hg diff |
General Comments 0
You need to be logged in to leave comments.
Login now