~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: Alexander Belchenko
  • Date: 2007-02-14 10:27:53 UTC
  • mto: This revision was merged to the branch mainline in revision 2289.
  • Revision ID: bialix@ukr.net-20070214102753-7ihuxer38uanf3d5
win98_abspath: support for running in POSIX environment: cwd path has not drive letter
so we need to be careful about result of _win98_abspath('/path')

Show diffs side-by-side

added added

removed removed

Lines of Context:
281
281
        # and this is incorrect
282
282
        if path[:1] in ('/','\\'):
283
283
            cwd = _nt_splitdrive(cwd)[0]
 
284
            path = path[1:]
284
285
        path = cwd + '\\' + path
285
286
    return _win32_fixdrive(_nt_normpath(path).replace('\\', '/'))
286
287