From 08df42da5bbfa60d29d984501f246d3b4f1a6870 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 29 Apr 2004 12:48:08 +0000 Subject: [PATCH] keep one previous version in cvs-prev --- ChangeLog | 3 +++ scripts/create-release.sh | 17 ++++++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5fd4f92f8..2b9662e83 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-04-29 Marc Delisle + * scripts/create-release.sh: keep only one previous version in cvs-prev + 2004-04-29 Michal Cihar * libraries/display_tbl.lib.php, libraries/sqlparser.lib.php, libraries/string.lib.php, libraries/dbi/mysql.dbi.lib.php: SQL parser diff --git a/scripts/create-release.sh b/scripts/create-release.sh index 393f511b9..2473c9366 100755 --- a/scripts/create-release.sh +++ b/scripts/create-release.sh @@ -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