Changeset: 94a4f2d07c5a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=94a4f2d07c5a
Modified Files:
Branch: default
Log Message:
Merge from Jun2010 branch.: Change default behavior of Maddlog.
By default, don't commit, but remind people that they have to commit.
Also remind people that the have to push.
diffs (47 lines):
diff -r f2c4b449e6fd -r 94a4f2d07c5a buildtools/conf/Maddlog
--- a/buildtools/conf/Maddlog Tue Jul 06 17:17:40 2010 +0200
+++ b/buildtools/conf/Maddlog Tue Jul 06 17:36:54 2010 +0200
@@ -28,7 +28,7 @@
exit -1
fi
-nocommit=
+nocommit=true
while [ $# -gt 0 ]; do
case "$1" in
--logfile=*)
@@ -44,8 +44,8 @@
CL=${1#-f}
shift
;;
- --nocommit)
- nocommit=true
+ --commit)
+ nocommit=
shift
;;
--)
@@ -57,7 +57,7 @@
$0: unknown option $1
Valid options are:
--logfile=filename (-f filename)
- --nocommit
+ --commit
EOF
exit 1
;;
@@ -135,7 +135,12 @@
mv $file "$CL"
+hg add "$CL" >& /dev/null
+
if [ ! "$nocommit" ]; then
- hg add "$CL" >& /dev/null
- hg commit -m " $msg" "$CL"
+ hg commit -m " $msg" "$CL"
+else
+ hg diff "$CL"
+ echo "Don't forget to COMMIT."
fi
+echo "Don't forget to PUSH."
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list