Changeset 2235
- Timestamp:
- May 31, 2017 8:03:49 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/document_changes
r2117 r2235 25 25 # ----------------- 26 26 # $Id$ 27 # Changed the submission procedure in order to reduce the number of required 28 # commits to one per change. 29 # 30 # 2117 2017-01-16 16:28:44Z maronga 27 31 # 28 32 # 1827 2016-04-07 12:12:23Z maronga … … 184 188 if [[ "$comments" != "" && $line_count -eq $line_stop+2 ]] 185 189 then 190 comments="$comment_char $line$comments" 186 191 timestamp=`echo $line | cut -d" " -s -f4-7` 187 comments="$comment_char $timestamp$comments" 188 fi 189 192 timestamp_string="$comment_char $timestamp" 193 fi 194 195 196 197 190 198 done <"$fn" 191 199 … … 236 244 237 245 # 246 #-- remove leading \n characters in string 247 comments=${comments:2} 248 249 250 251 # 252 #-- fix old time stamp 253 (( line_time = line_stop + 2 )) 254 sed -i "${line_time}d" $fn 255 sed -i "${line_time}i$timestamp_string" $fn 256 257 258 259 # 238 260 #-- insert comments to Former Revisions 239 (( line_stop = line_stop + 4))261 (( line_stop = line_stop + 2 )) 240 262 sed -i "${line_stop}i$comments" $fn 263 264 241 265 242 266 # … … 269 293 if [[ $count_changes -gt 0 ]] 270 294 then 271 printf " *** You can now proceed with\n \e[0;91msvn commit -m ' last commit documented' trunk\e[0m\n"295 printf " *** You can now proceed with\n \e[0;91msvn commit -m 'your commit message' trunk\e[0m\n" 272 296 printf " *** Please do not forget to commit your changes in the changelog at\n \e[0;91mhttps://palm.muk.uni-hannover.de/trac/wiki/doc/tec/changelog\e[0m!\n" 273 297 else
Note: See TracChangeset
for help on using the changeset viewer.