~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzr

  • Committer: Robert Collins
  • Date: 2005-10-30 00:00:09 UTC
  • mfrom: (1185.16.134)
  • Revision ID: robertc@robertcollins.net-20051030000009-9db99a338a0dfdac
MergeĀ fromĀ Martin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# You should have received a copy of the GNU General Public License
16
16
# along with this program; if not, write to the Free Software
17
17
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
 
"""Bazaar-NG -- a free distributed version-control tool"""
 
18
 
19
19
import os, sys
20
 
if __doc__ is None:
21
 
    print "bzr does not support python -OO."
22
 
    sys.exit(2)
 
20
 
23
21
try:
24
22
    version_info = sys.version_info
25
23
except AttributeError:
55
53
                     "\n")
56
54
    raise
57
55
 
58
 
if bzrlib.version_info[:3] != (0, 7, 0):
 
56
if bzrlib.version_info[:3] != (0, 6, 0):
59
57
    sys.stderr.write("bzr: WARNING: bzrlib version doesn't match the bzr program.\n"
60
58
            "This may indicate an installation problem.\n"
61
59
            "bzrlib from %s is version %r\n"