7 # ============ vars specific to the versions ==============
12 TAG_PRE_COMM=COMM_2_0_BASE
13 TAG_POST_COMM=BETA_5_END
14 TAG_PRE_MOZ=GECKO_2_0_BASE
15 TAG_POST_MOZ=FIREFOX_BETA_5_END
16 TAG_PRE_EXT=SEAMONKEY_2_1_RELEASE
17 TAG_POST_EXT=SEAMONKEY_2_2_RELEASE
19 # ===================== process repos =====================
21 REPO_LIST="COMM MOZ MOZB DOMI CZ"
23 HG_COMM_DIR=/mnt/mozilla/hg/comm-beta
24 COMM_DIR=suite/themes/classic/
25 COMM_TAG_PRE=$TAG_PRE_COMM
26 COMM_TAG_POST=$TAG_POST_COMM
27 COMM_OUT=$RUN_DIR/theme-suitedefault.$NAME_PRE-$NAME_POST.diff
29 HG_MOZ_DIR=/mnt/mozilla/hg/comm-beta/mozilla
30 MOZ_DIR=toolkit/themes/winstripe/
31 MOZ_TAG_PRE=$TAG_PRE_MOZ
32 MOZ_TAG_POST=$TAG_POST_MOZ
33 MOZ_OUT=$RUN_DIR/theme-toolkitwin.$NAME_PRE-$NAME_POST.diff
35 HG_MOZB_DIR=/mnt/mozilla/hg/comm-beta/mozilla
36 MOZB_DIR=browser/themes/winstripe/
37 MOZB_TAG_PRE=$TAG_PRE_MOZ
38 MOZB_TAG_POST=$TAG_POST_MOZ
39 MOZB_OUT=$RUN_DIR/theme-browserwin.$NAME_PRE-$NAME_POST.diff
41 HG_DOMI_DIR=/mnt/mozilla/hg/comm-beta/mozilla/extensions/inspector
42 DOMI_DIR=resources/skin/classic/
43 DOMI_TAG_PRE=$TAG_PRE_EXT
44 DOMI_TAG_POST=$TAG_POST_EXT
45 DOMI_OUT=$RUN_DIR/theme-domiclassic.$NAME_PRE-$NAME_POST.diff
47 HG_CZ_DIR=/mnt/mozilla/hg/comm-beta/mozilla/extensions/irc
49 CZ_TAG_PRE=$TAG_PRE_EXT
50 CZ_TAG_POST=$TAG_POST_EXT
51 CZ_OUT=$RUN_DIR/theme-chatzilla.$NAME_PRE-$NAME_POST.diff
53 for repo in $REPO_LIST; do
54 HG_DIR_VAR="HG_${repo}_DIR"
56 SKIN_DIR_VAR="${repo}_DIR"
57 SKIN_DIR=${!SKIN_DIR_VAR}
58 TAG_PRE_VAR="${repo}_TAG_PRE"
59 TAG_PRE=${!TAG_PRE_VAR}
60 TAG_POST_VAR="${repo}_TAG_POST"
61 TAG_POST=${!TAG_POST_VAR}
64 if [ ! -e $OUT_NAME ]; then
65 echo "Getting $OUT_NAME..."
67 LC_ALL=C hg diff -r $TAG_PRE -r $TAG_POST $SKIN_DIR > $OUT_NAME