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

Update docs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
 
41
41
class NoSuchRef(BzrGitError):
42
 
    """Raised when a ref can not be found."""
 
42
    """Raised when a ref can not be found.""" 
43
43
 
44
44
    _fmt = "The ref %(ref)s was not found."
45
 
 
 
45
    
46
46
    def __init__(self, ref, present_refs=None):
47
47
        self.ref = ref
48
48
        self.present_refs = present_refs
62
62
 
63
63
class GitSmartRemoteNotSupported(bzr_errors.BzrError):
64
64
    _fmt = "This operation is not supported by the Git smart server protocol."
 
65
 
 
66
 
 
67
class GhostRevision(bzr_errors.NoSuchRevision):
 
68
    _fmt = "Revision %(revision)s is a ghost; unable to represent in Git."""