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

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2006-07-08 17:36:59 UTC
  • mto: (0.14.1 main) (93.1.1 win32.bialix)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: Szilveszter.Farkas@gmail.com-20060708173659-8ab442681dadd8ea
2006-07-08  Szilveszter Farkas <Szilveszter.Farkas@gmail.com>

    * backend/errors.py: added some exceptions related to diff() and log()
    * backend/info.py: implemented log()
    * backend/info.py: diff() works well with revnos
    * added e-mail address to copyright header

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006 by Szilveszter Farkas (Phanatic)
 
1
# Copyright (C) 2006 by Szilveszter Farkas (Phanatic) <szilveszter.farkas@gmail.com>
2
2
# Some parts of the code are:
3
3
# Copyright (C) 2005, 2006 by Canonical Ltd
4
4
 
48
48
        commit.commit()
49
49
    """
50
50
 
 
51
class DifferentBranchesError(OliveError):
 
52
    """ Occurs if the specified files are in different branches
 
53
    
 
54
    May occur in:
 
55
        info.diff()
 
56
    """
 
57
 
51
58
class DirectoryAlreadyExists(OliveError):
52
59
    """ The specified directory already exists
53
60
    
147
154
    
148
155
    May occur in:
149
156
        init.branch()
 
157
        fileops.rename()
150
158
    """
151
159
 
152
160
class NotBranchError(OliveError):
170
178
        commit.push()
171
179
    """
172
180
 
 
181
class PrefixFormatError(OliveError):
 
182
    """ Occurs if the prefix is badly formatted
 
183
    
 
184
    May occur in:
 
185
        info.diff()
 
186
    """
 
187
 
173
188
class RevisionValueError(OliveError):
174
189
    """ Invalid revision value provided
175
190
    
176
191
    May occur in:
 
192
        info.log()
177
193
    """
178
194
 
179
195
class StrictCommitError(OliveError):