mirror of https://github.com/davisking/dlib.git
Changed the scripts so that only the last 1000 changes go
into the old change logs section. --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402536
This commit is contained in:
parent
ebf49a9c9b
commit
54a1ffd38b
|
@ -69,9 +69,11 @@ makedocs ()
|
|||
# update the cache of the library files from subversion if they aren't from the current revision
|
||||
if [ $DOCS_LAST_UPDATE_REV -ne $REVISION ]
|
||||
then
|
||||
echo Getting the subversion change logs
|
||||
BASE_LOGGER_REVNUM=`echo $LOGGER_REVNUM - 1000 | bc`
|
||||
echo Getting the subversion change logs for $DLIB_REPOS/dlib $LOGGER_REVNUM:$REVISION
|
||||
svn log $DLIB_REPOS/dlib -v --xml -r$LOGGER_REVNUM:$REVISION > docs/svnlog.txt || report_failure
|
||||
svn log $DLIB_REPOS/dlib -v --xml -r1000:$LOGGER_REVNUM > docs/old_svnlog.txt || report_failure
|
||||
echo Getting the subversion change logs for $DLIB_REPOS/dlib $BASE_LOGGER_REVNUM:$LOGGER_REVNUM
|
||||
svn log $DLIB_REPOS/dlib -v --xml -r$BASE_LOGGER_REVNUM:$LOGGER_REVNUM > docs/old_svnlog.txt || report_failure
|
||||
|
||||
rm -rf docs/cache
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ return_error()
|
|||
|
||||
echo Testing environment for needed utilities
|
||||
|
||||
bc -h > /dev/null || return_error "bc";
|
||||
flip -h > /dev/null || return_error "flip";
|
||||
echo nothing | awk '{}' > /dev/null || return_error "awk";
|
||||
echo | sed -e "s/s/r/" > /dev/null || return_error "sed";
|
||||
|
|
Loading…
Reference in New Issue