/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/workingtree_3.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
import errno
24
24
 
25
 
from bzrlib import (
 
25
from . import (
26
26
    bzrdir,
27
27
    errors,
28
28
    hashcache,
31
31
    trace,
32
32
    transform,
33
33
    )
34
 
from bzrlib.decorators import (
 
34
from .decorators import (
35
35
    needs_read_lock,
36
36
    )
37
 
from bzrlib.lockable_files import LockableFiles
38
 
from bzrlib.lockdir import LockDir
39
 
from bzrlib.mutabletree import MutableTree
40
 
from bzrlib.transport.local import LocalTransport
41
 
from bzrlib.workingtree import (
 
37
from .lockable_files import LockableFiles
 
38
from .lockdir import LockDir
 
39
from .mutabletree import MutableTree
 
40
from .transport.local import LocalTransport
 
41
from .workingtree import (
42
42
    InventoryWorkingTree,
43
43
    WorkingTreeFormatMetaDir,
44
44
    )
73
73
        if self._hashcache.needs_write:
74
74
            try:
75
75
                self._hashcache.write()
76
 
            except OSError, e:
 
76
            except OSError as e:
77
77
                if e.errno not in (errno.EPERM, errno.EACCES):
78
78
                    raise
79
79
                # TODO: jam 20061219 Should this be a warning? A single line