Changes in / [329:d900fd1e760f:331:2f5c0c42a5cd] in lemon-main
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/unify-sources.sh
r329 r331 66 66 function update_done() { 67 67 echo $CHANGED_FILES out of $TOTAL_FILES files has been changed. 68 echo $WARNED_FILES out of $TOTAL_FILES files has been warned.68 echo $WARNED_FILES out of $TOTAL_FILES files triggered warnings. 69 69 } 70 70 … … 119 119 function check_done() { 120 120 echo $FAILED_FILES out of $TOTAL_FILES files has been failed. 121 echo $WARNED_FILES out of $TOTAL_FILES files has been warned.121 echo $WARNED_FILES out of $TOTAL_FILES files triggered warnings. 122 122 123 123 if [ $FAILED_FILES -gt 0 ] … … 128 128 if [ "$WARNING" == 'INTERACTIVE' ] 129 129 then 130 echo -n "A ssume as normal behaviour? (yes/no) "130 echo -n "Are the files with warnings acceptable? (yes/no) " 131 131 while read answer 132 132 do … … 138 138 return 1 139 139 fi 140 echo -n "A ssume as normal behaviour? (yes/no) "140 echo -n "Are the files with warnings acceptable? (yes/no) " 141 141 done 142 142 elif [ "$WARNING" == 'WERROR' ] … … 269 269 Options: 270 270 --dry-run|-n 271 Check the givenfiles, but do not modify them.271 Check the files, but do not modify them. 272 272 --interactive|-i 273 If --dry-run is specified and files are warned, then a message is 274 prompted whether the warnings should be turned to errors. 273 If --dry-run is specified and the checker emits warnings, 274 then the user is asked if the warnings should be considered 275 errors. 275 276 --werror|-w 276 If --dry-run is specified, the warnings are turnedto errors.277 Make all warnings into errors. 277 278 --all|-a 278 279 Check all source files in the repository. 279 280 --modified|-m 280 Check only the modified source files. This option is proper to 281 use before a commit. E.g. all files which are modified or added 282 into the repository will be updated. 281 Check only the modified (and new) source files. This option is 282 useful to check the modification before making a commit. 283 283 --changed|-c 284 284 Check only the changed source files compared to the parent(s) of 285 the current hg node. This option is proper to use as hg hook 286 script. E.g. to check all your commited source files with this 287 script add the following section to the appropriate .hg/hgrc 288 file. 285 the current hg node. This option is useful as hg hook script. 286 To automatically check all your changes before making a commit, 287 add the following section to the appropriate .hg/hgrc file. 289 288 290 289 [hooks]
Note: See TracChangeset
for help on using the changeset viewer.