Skip to content
This repository has been archived by the owner on Jul 3, 2018. It is now read-only.

Commit

Permalink
Bug 988724: Remove webidl updating bits from client.py that are long …
Browse files Browse the repository at this point in the history
…dead. r=glandium
  • Loading branch information
khuey committed Apr 1, 2014
1 parent e1d0b6f commit 921c8ae
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@


LIBFFI_DIRS = (('js/ctypes/libffi', 'libffi'),)
WEBIDLPARSER_DIR = 'dom/bindings/parser'
WEBIDLPARSER_REPO = 'https://hg.mozilla.org/users/khuey_mozilla.com/webidl-parser'
HG_EXCLUSIONS = ['.hg', '.hgignore', '.hgtags']
WEBIDLPARSER_EXCLUSIONS = HG_EXCLUSIONS + ['.gitignore', 'ply']

CVSROOT_LIBFFI = ':pserver:[email protected]:/cvs/libffi'

Expand Down Expand Up @@ -120,7 +117,7 @@ def update_nspr_or_nss(tag, depfile, destination, hgpath):
tag_file = destination + "/TAG-INFO"
print >>file(tag_file, "w"), tag

o = OptionParser(usage="client.py [options] update_nspr tagname | update_nss tagname | update_libffi tagname | update_webidlparser tagname")
o = OptionParser(usage="client.py [options] update_nspr tagname | update_nss tagname | update_libffi tagname")
o.add_option("--skip-mozilla", dest="skip_mozilla",
action="store_true", default=False,
help="Obsolete")
Expand Down Expand Up @@ -161,9 +158,6 @@ def update_nspr_or_nss(tag, depfile, destination, hgpath):
if not options.cvsroot:
options.cvsroot = CVSROOT_LIBFFI
do_cvs_export(LIBFFI_DIRS, tag, options.cvsroot, options.cvs)
elif action in ('update_webidlparser'):
tag, = args[1:]
do_hg_replace(WEBIDLPARSER_DIR, WEBIDLPARSER_REPO, tag, WEBIDLPARSER_EXCLUSIONS, options.hg)
else:
o.print_help()
sys.exit(2)

0 comments on commit 921c8ae

Please sign in to comment.