/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 bzrlib/transport/local.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-04-12 08:40:15 UTC
  • mfrom: (1651.1.7 bzr.mbp.escape-stores)
  • Revision ID: pqm@pqm.ubuntu.com-20060412084015-e6472a0717edbca6
(mbp) storage escaping, cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
import os
22
22
import shutil
 
23
import sys
23
24
from stat import ST_MODE, S_ISDIR, ST_SIZE
24
25
import tempfile
25
26
import urllib
275
276
        except (IOError, OSError),e:
276
277
            self._translate_error(e, path)
277
278
 
 
279
    def _can_roundtrip_unix_modebits(self):
 
280
        if sys.platform == 'win32':
 
281
            # anyone else?
 
282
            return False
 
283
        else:
 
284
            return True
 
285
 
278
286
 
279
287
class ScratchTransport(LocalTransport):
280
288
    """A transport that works in a temporary dir and cleans up after itself.