Author: hqm
Date: 2007-07-31 16:06:55 -0700 (Tue, 31 Jul 2007)
New Revision: 5886
Modified:
tools/trunk/svn/svn-bash.sh
Log:
Change 20070731-hqm-a by [EMAIL PROTECTED] on 2007-07-31 15:00:21 EDT
in /cygdrive/c/users/hqm/tools/trunk
for http://svn.openlaszlo.org/tools/trunk
Summary: support automatic browser mailto in cygwin for svn-review
New Features:
Bugs Fixed:
Technical Reviewer: ptw (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Tests:
Modified: tools/trunk/svn/svn-bash.sh
===================================================================
--- tools/trunk/svn/svn-bash.sh 2007-07-31 21:21:14 UTC (rev 5885)
+++ tools/trunk/svn/svn-bash.sh 2007-07-31 23:06:55 UTC (rev 5886)
@@ -18,6 +18,8 @@
mkdir $SVNCHANGES
fi
+export CYGWIN_BROWSER=${CYGWIN_BROWSER:-"/cygdrive/c/Program Files/Mozilla
Firefox/firefox.exe"}
+
function empty-change-description() {
echo "empty-change-description is deprecated. Use svn-newchange instead."
echo "See $LZ_TOOLS_ROOT/svn/README.txt for usage details."
@@ -121,6 +123,11 @@
# --- 'open $mailto' explodes on long urls, so do it this way
osascript -e 'tell application "Mail"' -e
"mailto(\"${mailto}\")" -e 'activate' -e 'end tell'
;;
+ "CYGWIN_NT-5.1")
+ mailto=`cat ${change} | perl
${LZ_TOOLS_ROOT}/svn/review-mail.pl ${CHANGEURL}`
+ echo "Changeset: ${CHANGEURL}"
+ "${CYGWIN_BROWSER}" "${mailto}"
+ ;;
* )
echo "Paste the following message into your mail program:" 1>&2
cat ${change}
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins