Commit 54a1ffd3 authored by Davis King's avatar Davis King

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
parent ebf49a9c
...@@ -69,9 +69,11 @@ makedocs () ...@@ -69,9 +69,11 @@ makedocs ()
# update the cache of the library files from subversion if they aren't from the current revision # update the cache of the library files from subversion if they aren't from the current revision
if [ $DOCS_LAST_UPDATE_REV -ne $REVISION ] if [ $DOCS_LAST_UPDATE_REV -ne $REVISION ]
then 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 -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 rm -rf docs/cache
......
...@@ -12,6 +12,7 @@ return_error() ...@@ -12,6 +12,7 @@ return_error()
echo Testing environment for needed utilities echo Testing environment for needed utilities
bc -h > /dev/null || return_error "bc";
flip -h > /dev/null || return_error "flip"; flip -h > /dev/null || return_error "flip";
echo nothing | awk '{}' > /dev/null || return_error "awk"; echo nothing | awk '{}' > /dev/null || return_error "awk";
echo | sed -e "s/s/r/" > /dev/null || return_error "sed"; echo | sed -e "s/s/r/" > /dev/null || return_error "sed";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment