Skip to content

Commit

Permalink
Get rid of Subversion stuff
Browse files Browse the repository at this point in the history
This project has been using Git for years.
  • Loading branch information
DimitriPapadopoulos committed Mar 6, 2023
1 parent 871cad0 commit e429c01
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
*.nrrd
*.nhdr
*.raw
.svn
CMakeCache.txt
CMakeFiles/*
.RData
Expand Down
6 changes: 2 additions & 4 deletions ANTSnightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ cd ${startdir}/${ThisComputer}/${package}
top=`pwd`
echo WORKING IN $top

# check out package in a directory unique to each host -- this is unfortunately necessary
# because svn can't update a directory checked out by a newer version of svn, so
# every host has their own copy of BRAINS3 so that it's compatible with the local svn version.
# clone repository if necessary
if [ -d ${package} ] ; then
cd ${package}
git pull
Expand All @@ -81,7 +79,7 @@ fi

if [ $? != 0 ]
then
echo ${package} checkout failed, continuing with old version
echo Failed to clone ${package} repository, continuing with old version
fi


Expand Down
12 changes: 6 additions & 6 deletions CMake/PreventInSourceBuilds.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ function(AssureOutOfSourceBuilds PROJECT_NAME)
message("#")
message("# The following command will show you all files not part of ${PROJECT_NAME}")
message("# cd ${PROJECT_NAME}-Sandbox/${PROJECT_NAME}")
message("# svn status | grep '[^?]' | awk '{print \$2}'")
message("# git ls-files -o")
message("#")
message("# WARNING: if you have added files to ${PROJECT_NAME} but not used svn add")
message("# to add them to SVN's version control, this command will display them")
message("# WARNING: if you have added files to ${PROJECT_NAME} but not used git add")
message("# to add them to Git's version control, this command will display them")
message("# along with the files CMake created during configuration. You will need")
message("# to either save them outside the ${PROJECT_NAME} source tree, or run svn add")
message("# to let SVN know they are legitimate source files.")
message("# to either save them outside the ${PROJECT_NAME} source tree, or run git add")
message("# to let Git know they are legitimate source files.")
message("# Once you've verified that all unknown files are the result of CMake")
message("# configuration, you can run this command to clean them up")
message("# svn status | grep '[^?]' | awk '{print \$2}' | xargs rm -fr")
message("# git clean -dfx")
message("###########################################################################")
message(FATAL_ERROR "Quitting configuration")
endif()
Expand Down

0 comments on commit e429c01

Please sign in to comment.