[Debtags-commits] [svn] r1546 - tagdb
Enrico Zini
enrico at costa.debian.org
Thu Feb 9 15:15:08 UTC 2006
Author: enrico
Date: Thu Feb 9 15:15:07 2006
New Revision: 1546
Modified:
tagdb/process
Log:
Fixes and fine tuning
Modified: tagdb/process
==============================================================================
--- tagdb/process (original)
+++ tagdb/process Thu Feb 9 15:15:07 2006
@@ -98,7 +98,7 @@
y|Y)
COMMITMSG=`mktemp`
echo "Reviewed:" >> $COMMITMSG
- (cd $PATCHDIR && ls | sed 's/^/ - /') >> $COMMITMSG
+ (cd $PATCHDIR && ls | grep -v '^sent-' | sed 's/^/ - /') >> $COMMITMSG
vi $COMMITMSG
ANS=""
GO=no
@@ -125,7 +125,11 @@
then
svn commit tags --file=$COMMITMSG
rm $COMMITMSG
- cat $PATCHDIR/* | debtags submit
+ for i in `find $PATCHDIR | grep -v '^sent-'`
+ do
+ debtags submit $i
+ mv $i "$PATCHDIR/sent-`basename $i`"
+ done
echo "Submitted."
else
echo "Aborted."
@@ -156,8 +160,8 @@
PREV=`mktemp`
NEXT=`mktemp`
CHANGES=`mktemp`
- tagcoll --patch-with=$FILE copy tags > $PREV
- tagcoll --patch-with=$ORIG copy tags > $NEXT
+ tagcoll --patch-with=$ORIG copy tags > $PREV
+ tagcoll --patch-with=$FILE copy tags > $NEXT
tagcoll diff $PREV $NEXT > $CHANGES
rm $PREV $NEXT
@@ -301,7 +305,7 @@
echo -n " 1. Download new tags (last download: "
if [ -e $TOCHECK ]
then
- echo -n "`date -r new`"
+ echo -n "`date -r $TOCHECK`"
else
echo -n "never"
fi
More information about the Debtags-commits
mailing list