mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
Translate svn commands and references to git.
This commit is contained in:
parent
582bc9481f
commit
62232e9120
@ -190,7 +190,7 @@ today=`date +%Y%m%d`
|
||||
pmode='no'
|
||||
revmode='no'
|
||||
tmpdir="../#release_tmp.$$" # tmp work directory
|
||||
DOC_URL=http://svn.hdfgroup.uiuc.edu/hdf5doc/trunk
|
||||
DOC_URL=https://git@bitbucket.hdfgroup.org/scm/hdffv/hdf5doc.git
|
||||
CPPLUS_RM_NAME=cpplus_RM
|
||||
|
||||
# Restore previous Version information
|
||||
@ -334,7 +334,7 @@ done
|
||||
|
||||
# trunk is different than branches.
|
||||
if [ "${DOCVERSION}" ]; then
|
||||
DOC_URL=http://svn.hdfgroup.uiuc.edu/hdf5doc/branches/${DOCVERSION}
|
||||
DOC_URL=https://git@bitbucket.hdfgroup.org/scm/hdffv/hdf5doc.git -b ${DOCVERSION}
|
||||
fi
|
||||
|
||||
# Create the tar file
|
||||
@ -371,11 +371,11 @@ for comp in $methods; do
|
||||
;;
|
||||
doc)
|
||||
if [ "${DOCVERSION}" = "" ]; then
|
||||
DOCVERSION=trunk
|
||||
DOCVERSION=master
|
||||
fi
|
||||
test "$verbose" && echo " Creating docs..." 1>&2
|
||||
# Check out docs from svn repo
|
||||
(cd $tmpdir; svn co $DOC_URL > /dev/null) || exit 1
|
||||
# Check out docs from git repo
|
||||
(cd $tmpdir; git clone $DOC_URL > /dev/null) || exit 1
|
||||
# Create doxygen C++ RM
|
||||
(cd c++/src && doxygen cpp_doc_config > /dev/null ) || exit 1
|
||||
# Replace version of C++ RM with just-created version
|
||||
|
@ -30,7 +30,7 @@ DIFF="diff"
|
||||
INITFILE=.h5chkright.ini
|
||||
EXCEPTIONS=/tmp/h5chkright.except.$$
|
||||
tmpfile=/tmp/h5chkright_tmp.$$
|
||||
EXCEPTIONDIRS="-name CVS -o -name .svn" # at least skip CVS directories.
|
||||
EXCEPTIONDIRS="-name .git" # at least skip .git directories.
|
||||
EXTRACTEDFILE=/tmp/h5chkright.extracted.$$
|
||||
VERBOSE= # default no
|
||||
FIXIT= # default no
|
||||
|
@ -168,7 +168,7 @@ release_date=`date +%F`
|
||||
today=`date +%Y%m%d`
|
||||
pmode='no'
|
||||
tmpdir="../#release_tmp.$$" # tmp work directory
|
||||
DOC_URL=http://svn.hdfgroup.uiuc.edu/hdf5doc/trunk
|
||||
DOC_URL=https://git@bitbucket.hdfgroup.org/scm/hdffv/hdf5doc.git
|
||||
CPPLUS_RM_NAME=cpplus_RM
|
||||
|
||||
# Restore previous Version information
|
||||
@ -316,8 +316,8 @@ for comp in $methods; do
|
||||
;;
|
||||
doc)
|
||||
test "$verbose" && echo " Creating docs..." 1>&2
|
||||
# Check out docs from svn repo
|
||||
(cd $tmpdir; svn co $DOC_URL > /dev/null) || exit 1
|
||||
# Check out docs from git repo
|
||||
(cd $tmpdir; git clone $DOC_URL > /dev/null) || exit 1
|
||||
# Create doxygen C++ RM
|
||||
(cd c++/src && doxygen cpp_doc_config > /dev/null ) || exit 1
|
||||
# Replace version of C++ RM with just-created version
|
||||
|
Loading…
Reference in New Issue
Block a user