keep one previous version in cvs-prev

This commit is contained in:
Marc Delisle
2004-04-29 12:48:08 +00:00
parent bc55b61232
commit 08df42da5b
2 changed files with 17 additions and 3 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-04-29 Marc Delisle <lem9@users.sourceforge.net>
* scripts/create-release.sh: keep only one previous version in cvs-prev
2004-04-29 Michal Cihar <michal@cihar.com>
* libraries/display_tbl.lib.php, libraries/sqlparser.lib.php,
libraries/string.lib.php, libraries/dbi/mysql.dbi.lib.php: SQL parser

View File

@@ -2,6 +2,9 @@
#
# $Id$
#
# 2004-04-29, lem9@users.sourceforge.net:
# - keep only the previous cvs directory created
#
# 2004-04-16, lem9@users.sourceforge.net:
# - daily snapshot when called with first parameter "snapshot"
# - remove directory used for the checkout
@@ -111,11 +114,19 @@ fi
# Goto project dir
cd /home/groups/p/ph/phpmyadmin/htdocs
# Move old cvs dir
if [ -e cvs ];
## Move old cvs dir
#if [ -e cvs ];
#then
# mv cvs cvs-`date +%s`
#fi
# Keep one previous version of the cvs directory
if [ -e cvs-prev ];
then
mv cvs cvs-`date +%s`
rm -rf cvs-prev
fi
mv cvs cvs-prev
# Do CVS checkout
mkdir cvs
cd cvs