From 1d9dd7a7d4ffeed56d4c674f542416e3da78c5ce Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 31 Jan 2010 20:46:56 +0100 Subject: [PATCH] confine diffs to 1.9.1 branch for extensions --- origdiff | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/origdiff b/origdiff index 11e97cd6..f4c391e0 100755 --- a/origdiff +++ b/origdiff @@ -11,24 +11,30 @@ if [ -n "$1" ]; then DST_DATE=`TZ=America/Los_Angeles date +%Y-%m-%d` HG_COMM_DIR=/mnt/mozilla/hg/comm-1.9.1 + COMM_HG_OPTIONS= COMM_DIR=suite/themes/classic/ COMM_LOG=$RUN_DIR/themelog-suitedefault.$SRC_DATE.$DST_DATE.log HG_MOZ_DIR=/mnt/mozilla/hg/comm-1.9.1/mozilla + MOZ_HG_OPTIONS= MOZ_DIR=toolkit/themes/winstripe/ MOZ_LOG=$RUN_DIR/themelog-tkwinstripe.$SRC_DATE.$DST_DATE.log HG_DOMI_DIR=/mnt/mozilla/hg/comm-1.9.1/mozilla/extensions/inspector + DOMI_HG_OPTIONS="-b COMM_1_9_1_BRANCH" DOMI_DIR=resources/skin/classic/ DOMI_LOG=$RUN_DIR/themelog-domiclassic.$SRC_DATE.$DST_DATE.log HG_CZ_DIR=/mnt/mozilla/hg/comm-1.9.1/mozilla/extensions/irc + CZ_HG_OPTIONS="-b COMM_1_9_1_BRANCH" CZ_DIR=xul/skin/ CZ_LOG=$RUN_DIR/themelog-chatzilla.$SRC_DATE.$DST_DATE.log for repo in $REPO_LIST; do HG_DIR_VAR="HG_${repo}_DIR" HG_DIR=${!HG_DIR_VAR} + HG_OPTIONS_VAR="${repo}_HG_OPTIONS" + HG_OPTIONS=${!HG_OPTIONS_VAR} SKIN_DIR_VAR="${repo}_DIR" SKIN_DIR=${!SKIN_DIR_VAR} LOG_VAR="${repo}_LOG" @@ -36,7 +42,7 @@ if [ -n "$1" ]; then if [ ! -e $LOG_NAME ]; then echo "Getting $LOG_NAME..." cd $HG_DIR - LC_ALL=C hg log -d ">$SRC_DATE" $SKIN_DIR > $LOG_NAME + LC_ALL=C hg log -d ">$SRC_DATE" $HG_OPTIONS $SKIN_DIR > $LOG_NAME fi done cd $RUN_DIR -- 2.43.0