/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/tree.py

Merge trunk, address review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    conflicts as _mod_conflicts,
30
30
    debug,
31
31
    delta,
32
 
    errors,
33
32
    filters,
34
 
    osutils,
35
33
    revision as _mod_revision,
36
34
    rules,
37
35
    trace,
42
40
from breezy.i18n import gettext
43
41
""")
44
42
 
 
43
from . import (
 
44
    errors,
 
45
    osutils,
 
46
    )
45
47
from .decorators import needs_read_lock
46
48
from .inter import InterObject
47
49
from .sixish import (
49
51
    )
50
52
 
51
53
 
 
54
class FileTimestampUnavailable(errors.BzrError):
 
55
 
 
56
    _fmt = "The filestamp for %(path)s is not available."
 
57
 
 
58
    internal_error = True
 
59
 
 
60
    def __init__(self, path):
 
61
        self.path = path
 
62
 
 
63
 
52
64
class Tree(object):
53
65
    """Abstract file tree.
54
66