r77913 - /scripts/qa/packagecheck
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Wed Jul 27 18:10:03 UTC 2011
Author: dmn
Date: Wed Jul 27 18:10:01 2011
New Revision: 77913
URL: http://svn.debian.org/wsvn/?sc=1&rev=77913
Log:
(untested) fixes for the final diff/commit -- using mr in packages/
Modified:
scripts/qa/packagecheck
Modified: scripts/qa/packagecheck
URL: http://svn.debian.org/wsvn/scripts/qa/packagecheck?rev=77913&op=diff
==============================================================================
--- scripts/qa/packagecheck (original)
+++ scripts/qa/packagecheck Wed Jul 27 18:10:01 2011
@@ -499,12 +499,6 @@
done
fi
-# TODO:
-# doesn't work below here
-# should probably go into check_package
-
-exit 0
-
# work is done. svn diff? svn commit?
if [ "$CHANGED" = "1" ]; then
@@ -512,7 +506,7 @@
read -p "Show git diff $WORK_DIR (y|N)? " DIFF
case $DIFF in
y|Y)
- git diff $WORK_DIR | less -R
+ ( cd $TOP/packages; mr diff | less -R )
;;
*)
;;
@@ -523,7 +517,7 @@
read -p " $WORK_DIR (y|N)? " COMMIT
case $COMMIT in
y|Y)
- git ci -m "$COMMIT_MSG" $WORK_DIR
+ ( cd $TOP/packages; mr ci -m "$COMMIT_MSG" )
;;
*)
;;
More information about the Pkg-perl-cvs-commits
mailing list