~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzr

  • Committer: Martin Pool
  • Date: 2005-05-17 09:05:11 UTC
  • Revision ID: mbp@sourcefrog.net-20050517090511-b026ebbb9060034c
- file-ids are stored as quoted-printable in the stat cache,
  so as to better handle any wierd values that may be present.
- more sanity checks on records read from stat cache

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
 
27
27
REINVOKE = "__BZR_REINVOKE"    
28
 
NEED_VERS = (2, 4)
29
 
KNOWN_PYTHONS = ('python2.4',)
 
28
NEED_VERS = (2, 3)
30
29
 
31
30
if version_info < NEED_VERS:
32
31
    if not os.environ.has_key(REINVOKE):
33
32
        # mutating os.environ doesn't work in old Pythons
34
33
        os.putenv(REINVOKE, "1")
35
 
        for python in KNOWN_PYTHONS:
 
34
        for python in 'python2.4', 'python2.3':
36
35
            try:
37
36
                os.execvp(python, [python] + sys.argv)
38
37
            except OSError: