Changes in / [331:2f5c0c42a5cd:329:d900fd1e760f] in lemon-1.1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/unify-sources.sh
r331 r329 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 triggered warnings.68 echo $WARNED_FILES out of $TOTAL_FILES files has been warned. 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 triggered warnings.121 echo $WARNED_FILES out of $TOTAL_FILES files has been warned. 122 122 123 123 if [ $FAILED_FILES -gt 0 ] … … 128 128 if [ "$WARNING" == 'INTERACTIVE' ] 129 129 then 130 echo -n "A re the files with warnings acceptable? (yes/no) "130 echo -n "Assume as normal behaviour? (yes/no) " 131 131 while read answer 132 132 do … … 138 138 return 1 139 139 fi 140 echo -n "A re the files with warnings acceptable? (yes/no) "140 echo -n "Assume as normal behaviour? (yes/no) " 141 141 done 142 142 elif [ "$WARNING" == 'WERROR' ] … … 269 269 Options: 270 270 --dry-run|-n 271 Check the files, but do not modify them.271 Check the given files, but do not modify them. 272 272 --interactive|-i 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. 273 If --dry-run is specified and files are warned, then a message is 274 prompted whether the warnings should be turned to errors. 276 275 --werror|-w 277 Make all warnings into errors.276 If --dry-run is specified, the warnings are turned to errors. 278 277 --all|-a 279 278 Check all source files in the repository. 280 279 --modified|-m 281 Check only the modified (and new) source files. This option is 282 useful to check the modification before making a commit. 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. 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 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. 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. 288 289 289 290 [hooks]
Note: See TracChangeset
for help on using the changeset viewer.