/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzr

  • Committer: Aaron Bentley
  • Date: 2006-11-17 04:06:03 UTC
  • mfrom: (2139 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2162.
  • Revision ID: aaron.bentley@utoronto.ca-20061117040603-pgebxndswvwk26tt
Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /usr/bin/env python
2
2
 
3
 
# Copyright (C) 2005, 2006 by Canonical Ltd
 
3
# Copyright (C) 2005, 2006 Canonical Ltd
4
4
#
5
5
# This program is free software; you can redistribute it and/or modify
6
6
# it under the terms of the GNU General Public License as published by
32
32
 
33
33
REINVOKE = "__BZR_REINVOKE"
34
34
NEED_VERS = (2, 4)
35
 
KNOWN_PYTHONS = ('python2.4',)
 
35
KNOWN_PYTHONS = ('python2.4', 'python2.5')
36
36
 
37
37
if version_info < NEED_VERS:
38
38
    if not os.environ.has_key(REINVOKE):
50
50
    os.unsetenv(REINVOKE)
51
51
 
52
52
 
53
 
 
54
53
profiling = False
55
54
if '--profile-imports' in sys.argv:
56
55
    sys.argv.remove('--profile-imports')
71
70
import bzrlib.inspect_for_copy
72
71
bzrlib.inspect_for_copy.import_copy_with_hacked_inspect()
73
72
 
 
73
import bzrlib.lazy_regex
 
74
bzrlib.lazy_regex.install_lazy_compile()
 
75
 
74
76
import bzrlib.commands
75
77
import bzrlib.trace
76
78
 
77
 
if bzrlib.version_info[:3] != (0, 11, 0):
 
79
if bzrlib.version_info[:3] != (0, 13, 0):
78
80
    sys.stderr.write("bzr: WARNING: bzrlib version doesn't match the bzr program.\n"
79
81
            "This may indicate an installation problem.\n"
80
82
            "bzrlib from %s is version %r\n"