dom/imptests/updateTestharness.py
author Steven Lee <slee@mozilla.com>
Sun, 23 Sep 2012 13:00:32 -0400
changeset 114720 4a8ade9e7af866d1a289cf506e44822ffeb1fb6c
parent 97772 0957b05585e9de738d05d54f89e02e46af512238
child 120889 20965bd69e280f3b25e3b9a501744324b9f6370a
permissions -rw-r--r--
Bug 792443 - hal::RegisterSystemTimeChangeObserver should register the observer through sandbox, r=jlebar

#!/usr/bin/env python
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.

import subprocess

repo = "https://dvcs.w3.org/hg/resources"
dest = "resources-upstream"
files = ["testharness.js", "testharness.css", "idlharness.js", "WebIDLParser.js"]

subprocess.check_call(["hg", "clone", repo, dest])
for f in files:
  subprocess.check_call(["cp", "%s/%s" % (dest, f), f])
  subprocess.check_call(["hg", "add", f])
subprocess.check_call(["rm", "--recursive", "--force", dest])