[Debtags-commits] [svn] r1617 - tagdb
Enrico Zini
enrico at costa.debian.org
Thu Mar 2 10:51:40 UTC 2006
Author: enrico
Date: Thu Mar 2 10:51:40 2006
New Revision: 1617
Modified:
tagdb/process
Log:
Fixed the submission phase
Modified: tagdb/process
==============================================================================
--- tagdb/process (original)
+++ tagdb/process Thu Mar 2 10:51:40 2006
@@ -215,18 +215,23 @@
mv $TMP $SVN
# 5) central database += corrections
- debtags submit corrections-$FILE
-
# 6) unchecked += corrections
- tagcoll --patch-with=corrections-$FILE copy $CACHEDIR/$UNCHECKED-clean > $TMP
- mv $TMP $CACHEDIR/$UNCHECKED-clean
+ if [ -s corrections-$FILE ]
+ then
+ debtags submit corrections-$FILE
+
+ tagcoll --patch-with=corrections-$FILE copy $CACHEDIR/$UNCHECKED-clean > $TMP
+ mv $TMP $CACHEDIR/$UNCHECKED-clean
+
+ # 7) file the approved and corrected patches into the edits archive
+ cp corrections-$FILE corrections/`date +%Y%m%s-%H%M%S`-$FILE
+ fi
# 7) file the approved and corrected patches into the edits archive
- cp corrections-$FILE corrections/`date +%Y%m%s-%H%M%S`-$FILE
cp approved-$FILE approved/`date +%Y%m%s-%H%M%S`-$FILE
# 8) remove editing copy
- do_delete $FILE
+ do_delete $FILE
}
do_review_edit() {
More information about the Debtags-commits
mailing list