[Debtags-commits] [svn] r2116 - autodebtag/trunk
Enrico Zini
enrico at alioth.debian.org
Sun Nov 19 18:19:26 CET 2006
Author: enrico
Date: Sun Nov 19 18:19:26 2006
New Revision: 2116
Modified:
autodebtag/trunk/autodebtag2
Log:
Added functions to simplify the patch using the reviewed tag database
Modified: autodebtag/trunk/autodebtag2
==============================================================================
--- autodebtag/trunk/autodebtag2 (original)
+++ autodebtag/trunk/autodebtag2 Sun Nov 19 18:19:26 2006
@@ -23,6 +23,14 @@
# - make tests smarter
# - no +uitoolkit::* if in libs and ^lib
+echo "Getting the newest reviewed tag list"
+if ! [ -d tagdb ]
+then
+ svn co svn://svn.debian.org/debtags/tagdb tagdb
+else
+ svn up tagdb
+fi
+
OUT=`mktemp`
trap 'rm "$OUT"' exit
@@ -34,8 +42,8 @@
echo "Minimising the patch..." >&2
PATCHED=`mktemp`
trap 'rm "$OUT" "$PATCHED"' exit
-debtags cat | tagcoll copy -p "$OUT" > $PATCHED
-debtags diff $PATCHED
+tagcoll -g -p "$OUT" copy tagdb/tags > $PATCHED
+tagcoll diff tagdb/tags $PATCHED
exit 0
More information about the Debtags-commits
mailing list