/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to olive/backend/info.py

  • Committer: Jelmer Vernooij
  • Date: 2006-09-04 23:33:13 UTC
  • mto: (0.8.83 merge)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: jelmer@samba.org-20060904233313-f8d303ec87f6de13
Eliminate olive.backend.errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
from bzrlib.branch import Branch
23
23
from bzrlib.workingtree import WorkingTree
24
24
 
25
 
from errors import (DifferentBranchesError, NotBranchError, PermissionDenied,
26
 
                    PrefixFormatError, RevisionValueError)
 
25
from bzrlib.errors import (NotBranchError, PermissionDenied, BzrError)
 
26
 
 
27
class DifferentBranchesError(BzrError):
 
28
    """ Occurs if the specified files are in different branches
 
29
    
 
30
    May occur in:
 
31
        info.diff()
 
32
    """
 
33
 
 
34
 
 
35
class PrefixFormatError(BzrError):
 
36
    """ Occurs if the prefix is badly formatted
 
37
    
 
38
    May occur in:
 
39
        info.diff()
 
40
    """
 
41
 
 
42
 
 
43
class RevisionValueError(BzrError):
 
44
    """ Invalid revision value provided
 
45
    
 
46
    May occur in:
 
47
        info.log()
 
48
    """
 
49
 
27
50
 
28
51
def diff(revision=None, file_list=None, diff_options=None, prefix=None):
29
52
    """ Save the diff into a temporary file.