~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

Merge propagate-exceptions into http-leaks

Show diffs side-by-side

added added

removed removed

Lines of Context:
1041
1041
class LockContention(LockError):
1042
1042
 
1043
1043
    _fmt = 'Could not acquire lock "%(lock)s": %(msg)s'
1044
 
    # TODO: show full url for lock, combining the transport and relative
1045
 
    # bits?
1046
1044
 
1047
1045
    internal_error = False
1048
1046
 
1923
1921
class CantMoveRoot(BzrError):
1924
1922
 
1925
1923
    _fmt = "Moving the root directory is not supported at this time"
1926
 
    
1927
 
    
 
1924
 
 
1925
 
1928
1926
class TransformRenameFailed(BzrError):
1929
1927
 
1930
1928
    _fmt = "Failed to rename %(from_path)s to %(to_path)s: %(why)s"
1931
 
    
 
1929
 
1932
1930
    def __init__(self, from_path, to_path, why, errno):
1933
1931
        self.from_path = from_path
1934
1932
        self.to_path = to_path