Changeset 106
- Timestamp:
- 05/21/2006 14:55:27 (6 years ago)
- File:
-
- 1 edited
-
confman/confmanlib.sh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
confman/confmanlib.sh
r105 r106 320 320 321 321 # First, we perform the easy operations 322 svn mv ${WORK_PATH}/${oldmod} ${WORK_PATH}/${newmod} 322 svn mv ${WORK_PATH}/${oldmod} ${WORK_PATH}/${newmod} || \ 323 { echo "There was a problem renaming the modules." > &4 ; \ 324 conf_clean_exit 1 } 323 325 svn mv ${WORK_PATH}/${REPO_CHECKPTS}/${oldmod} \ 324 ${WORK_PATH}/${REPO_CHECKPTS}/${newmod} 325 326 ${WORK_PATH}/${REPO_CHECKPTS}/${newmod} || \ 327 { echo "There was a problem renaming the checkpts." >&4 ; \ 328 conf_clean_exit 1 } 329 330 svn update ${WORK_PATH} || \ 331 { echo "Your working copy didn't update correctly." >&4 ; \ 332 conf_clean_exit 1 } 326 333 svn commit -m "Renaming ${oldmod} to ${newmod}, phase 1." \ 327 ${WORK_PATH}/{,${REPO_CHECKPTS}}/{${oldmod},${newmod}} 334 ${WORK_PATH}/{,${REPO_CHECKPTS}}/{${oldmod},${newmod}} || \ 335 { echo "Committing the changes failed." >&4 ; conf_clean_exit 1 } 328 336 329 337 # Next, we have to rename any singularities … … 335 343 done 336 344 345 svn update ${WORK_PATH} || \ 346 { echo "Your working copy didn't update correctly." >&4 ; \ 347 conf_clean_exit 1 } 337 348 svn commit -m "Renaming ${oldmod} to ${newmod}, phase 2." \ 338 ${WORK_PATH}/${newmod} 349 ${WORK_PATH}/${newmod} || \ 350 { echo "Committing the changes failed." >&4 ; conf_clean_exit 1 } 339 351 340 352 # Now, we have to go fix all the confman headers in all the files... … … 343 355 {} \; 344 356 357 svn update ${WORK_PATH} || \ 358 { echo "Your working copy didn't update correctly." >&4 ; \ 359 conf_clean_exit 1 } 345 360 svn commit -m "Renaming ${oldmod} to ${newmod}, complete." \ 346 ${WORK_PATH}/${newmod} 361 ${WORK_PATH}/${newmod} || \ 362 { echo "Committing the changes failed." >&4 ; conf_clean_exit 1 } 347 363 } 348 364
Note: See TracChangeset
for help on using the changeset viewer.
