/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/bzr/inventorytree.py

Merge trunk, address review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
from ..sixish import (
51
51
    viewvalues,
52
52
    )
53
 
from ..tree import InterTree, Tree
 
53
from ..tree import (
 
54
    FileTimestampUnavailable,
 
55
    InterTree,
 
56
    Tree,
 
57
    )
54
58
 
55
59
 
56
60
class InventoryTree(Tree):
611
615
        try:
612
616
            revision = self._repository.get_revision(ie.revision)
613
617
        except errors.NoSuchRevision:
614
 
            raise errors.FileTimestampUnavailable(self.id2path(file_id))
 
618
            raise FileTimestampUnavailable(self.id2path(file_id))
615
619
        return revision.timestamp
616
620
 
617
621
    def get_file_size(self, file_id):