cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# CDDL HEADER START
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# The contents of this file are subject to the terms of the
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# Common Development and Distribution License (the "License").
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# You may not use this file except in compliance with the License.
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# See the License for the specific language governing permissions
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# and limitations under the License.
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# When distributing Covered Code, include this CDDL HEADER in each
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# If applicable, add the following below this CDDL HEADER, with the
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# fields enclosed by brackets "[]" replaced with your own identifying
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# information: Portions Copyright [yyyy] [name of copyright owner]
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# CDDL HEADER END
87ab362234f761757d96ff1a758ab5c3bd85ed83Richard Lowe# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
87ab362234f761757d96ff1a758ab5c3bd85ed83Richard Lowe# We deliver .pyc files specific to the python version, with the
87ab362234f761757d96ff1a758ab5c3bd85ed83Richard Lowe# exception of cdm.pyc, which we don't deliver at all.
87ab362234f761757d96ff1a758ab5c3bd85ed83Richard Lowe# An exception to this is cdm.py, which is typically loaded using an
87ab362234f761757d96ff1a758ab5c3bd85ed83Richard Lowe# extension path in an .hgrc. This path might refer to a Python
87ab362234f761757d96ff1a758ab5c3bd85ed83Richard Lowe# version that's different from the one Mercurial is using. If we
87ab362234f761757d96ff1a758ab5c3bd85ed83Richard Lowe# delivered a cdm.pyc, differing Pythons running Mercurial could cause
87ab362234f761757d96ff1a758ab5c3bd85ed83Richard Lowe# it to be overwritten, causing packaging noise. Logic within cdm.py
87ab362234f761757d96ff1a758ab5c3bd85ed83Richard Lowe# causes modules loaded from there to be those built by the correct
87ab362234f761757d96ff1a758ab5c3bd85ed83Richard Lowe# version of Python.