Bug 473827 Remove pulling of wallet from client.py. r=KaiRo
authorMark Banner <bugzilla@standard8.plus.com>
Mon, 19 Jan 2009 16:16:43 +0000
changeset 1688 eddfe639e52ff3214e02b172daa465e8a5a59449
parent 1687 42c688cb89a1b8273cbd50b6fe27dec4f756d0d0
child 1689 a7f58103d20a63a09884bd646977baa8486f5970
push idunknown
push userunknown
push dateunknown
reviewersKaiRo
bugs473827
Bug 473827 Remove pulling of wallet from client.py. r=KaiRo
client.py
--- a/client.py
+++ b/client.py
@@ -1,17 +1,16 @@
 #!/usr/bin/python
 
 EXTENSION_CO_TAG = 'HEAD'
 LDAPCSDK_CO_TAG = 'LDAPCSDK_6_0_6_RTM'
 
 CHATZILLA_CO_TAG = 'HEAD'
 VENKMAN_CO_TAG = 'HEAD'
 
-EXTENSION_DIRS = ('extensions/wallet',)
 LDAPCSDK_DIRS = ('directory/c-sdk',)
 
 CHATZILLA_DIRS = ('extensions/irc',)
 VENKMAN_DIRS = ('extensions/venkman',)
 
 DEFAULT_COMM_REV = "default"
 # URL of the default hg repository to clone for Mozilla.
 DEFAULT_MOZILLA_REPO = 'http://hg.mozilla.org/releases/mozilla-1.9.1/'
@@ -181,19 +180,16 @@ o.add_option("--inspector-repo", dest="i
              help="URL of DOM inspector repository to pull from (default: use hg default in mozilla/extensions/inspector/.hg/hgrc; or if that file doesn't exist, use \"" + DEFAULT_INSPECTOR_REPO + "\".)")
 o.add_option("--skip-inspector", dest="skip_inspector",
              action="store_true", default=False,
              help="Skip pulling the DOM inspector repository.")
 o.add_option("--inspector-rev", dest="inspector_rev",
              default=DEFAULT_INSPECTOR_REV,
              help="Revision of DOM inspector repository to update to. Default: \"" + DEFAULT_INSPECTOR_REV + "\"")
 
-o.add_option("--skip-cvs", dest="skip_cvs",
-             action="store_true", default=False,
-             help="Skip pulling the old directories from the Mozilla CVS repository.")
 o.add_option("--skip-ldap", dest="skip_ldap",
              action="store_true", default=False,
              help="Skip pulling LDAP from the Mozilla CVS repository.")
 o.add_option("--skip-chatzilla", dest="skip_chatzilla",
              action="store_true", default=False,
              help="Skip pulling the ChatZilla repository.")
 o.add_option("--skip-venkman", dest="skip_venkman",
              action="store_true", default=False,
@@ -255,24 +251,18 @@ if action in ('checkout', 'co'):
         do_hg_pull('.', options.comm_repo, options.hg, options.comm_rev)
 
     if not options.skip_mozilla:
         do_hg_pull('mozilla', options.mozilla_repo, options.hg, options.mozilla_rev)
 
     if not options.skip_inspector:
         do_hg_pull(os.path.join('mozilla', 'extensions', 'inspector'), options.inspector_repo, options.hg, options.inspector_rev)
 
-    if not options.skip_cvs:
-        if not options.skip_ldap:
-          do_cvs_checkout(LDAPCSDK_DIRS, LDAPCSDK_CO_TAG, options.cvsroot, options.cvs, '')
-        if os.path.exists(os.path.join(topsrcdir, 'mozilla', 'extensions')):
-          do_cvs_checkout(EXTENSION_DIRS, EXTENSION_CO_TAG, options.cvsroot, options.cvs, 'mozilla')
-        else:
-          print >>sys.stderr, "Warning: mozilla/extensions does not exist, built-in extensions could not be checked out."
-          pass
+    if not options.skip_ldap:
+        do_cvs_checkout(LDAPCSDK_DIRS, LDAPCSDK_CO_TAG, options.cvsroot, options.cvs, '')
 
     if not options.skip_chatzilla:
         if os.path.exists(os.path.join(topsrcdir, 'mozilla', 'extensions')):
           do_cvs_checkout(CHATZILLA_DIRS, CHATZILLA_CO_TAG, options.cvsroot, options.cvs, 'mozilla')
         else:
           print >>sys.stderr, "Warning: mozilla/extensions does not exist, ChatZilla could not be checked out."
           pass