summaryrefslogtreecommitdiffstats
path: root/contrib/cvs-update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cvs-update.sh')
-rw-r--r--contrib/cvs-update.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/contrib/cvs-update.sh b/contrib/cvs-update.sh
index f74220073..e6dcc6eeb 100644
--- a/contrib/cvs-update.sh
+++ b/contrib/cvs-update.sh
@@ -26,11 +26,16 @@
# and run the cvs command with the date that you want to back
# out to. (Probably the second to last entry).
+# Because this script lives in contrib, you may want to
+# ln -s contrib/cvs-update.sh cvs-update
+# from your bugzilla install directory so you can run
+# the script easily from there (./cvs-update)
+
#DATE=`date +%e/%m/%Y\ %k:%M:%S\ %Z`
DATE=`date`
-COMMAND="cvs update -d -P -D"
-echo $COMMAND \"$DATE\" >> cvs-update.log
-$COMMAND "$DATE"
+COMMAND="cvs -q update -dP"
+echo $COMMAND -D \"$DATE\" >> cvs-update.log
+$COMMAND -A
# sample log file