Visit Mozilla.org

Updating NSPR or NSS in mozilla-central

From MDC

The NSPR and NSS sources in mozilla-central are taken from exports of CVS tags. If NSPR or NSS must be upgraded to a new static tag, follow this procedure:

  1. Before starting, make sure your local repository is updated to mozilla-central tip and that there are no local changes:
    $ hg status -mard
  2. Pull the new sources
    $ python client.py update_nspr NSPR_TAG_NAME

    or

    $ python client.py update_nss NSS_TAG_NAME
  3. Check for new or removed files
    $ hg addremove -n

    Review the output to make sure it looks correct

  4. Commit the update:
    $ hg commit -A
  5. Push the update:
    $ hg push