summaryrefslogtreecommitdiff
path: root/src/mozclient/seamonkey-2.0.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/mozclient/seamonkey-2.0.conf')
-rw-r--r--src/mozclient/seamonkey-2.0.conf12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/mozclient/seamonkey-2.0.conf b/src/mozclient/seamonkey-2.0.conf
index cb0c696..13388be 100644
--- a/src/mozclient/seamonkey-2.0.conf
+++ b/src/mozclient/seamonkey-2.0.conf
@@ -16,10 +16,12 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
MOZCLIENT_APPNAME = seamonkey-2.0
-MOZCLIENT_PROJECT = suite
-MOZCLIENT_VCS = cvs
-MOZCLIENT_VCS_LOC = :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot
+MOZCLIENT_PROJECT = comm-central
+MOZCLIENT_VCS = hg
+MOZCLIENT_VCS_LOC = http://hg.mozilla.org/
+MOZCLIENT_POSTCOCMD = cd mozilla && python client.py checkout
MOZCLIENT_FILE = mozilla/suite/config/version.txt
MOZCLIENT_GETVERSION = tail -1 mozilla/suite/config/version.txt | sed -e 's/pre//; s/\([ab]\)\([0-9]*\)/~\1\2/'
-MOZCLIENT_GETDATE = wget -O - -q --read-timeout=10 --user-agent='' --tries=3 'http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=SeaMonkeyBrowser&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=week&mindate=&maxdate=&cvsroot=%2Fcvsroot' 2> /dev/null | grep "href='http://webtools" | head -1 | tr '<>' '@' | cut -d@ -f5 | tr -d ':-' | sed -e 's/&nbsp;/t/'
-MOZCLIENT_WANTMOZDIR = 0
+MOZCLIENT_GETDATE = wget -O - -q --read-timeout=10 --user-agent='' --tries=3 http://hg.mozilla.org/index.cgi/comm-central/log 2> /dev/null | grep cite | head -1 | sed -e 's,.*</cite>,,' | perl -e '$m = { "Jan" => 1, "Feb" => 2, "Mar" => 3, "Apr" => 4, "May" => 5, "Jun" => 6, "Jul" => 7, "Aug" => 8, "Sep" => 9, "Oct" => 10, "Nov" => 11, "Dec" => 12 } ; $a = <>; $a =~ m/^ - \S+,\s+(\d+) (\S+) (\d+) \S+ \S+ - rev (\d+)/ && do { printf "%04d%02d%02dr%d\n", $3, $$m{$2}, $1, $4 }; '
+MOZCLIENT_WANTMOZDIR = 1
+MOZCLIENT_TAREXCLUDE = CVS .cvsignore