/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:
48
48
        commit.commit()
49
49
    """
50
50
 
51
 
class ConnectionError(OliveError):
52
 
    """ Occurs if cannot connect to remote host
53
 
    
54
 
    May occur in:
55
 
        update.missing()
56
 
    """
57
 
 
58
51
class DifferentBranchesError(OliveError):
59
52
    """ Occurs if the specified files are in different branches
60
53
    
169
162
    
170
163
    May occur in:
171
164
        commit.commit()
172
 
        init.branch()
173
 
        init.checkout()
174
 
    """
175
 
 
176
 
class NotSameBranchError(OliveError):
177
 
    """ The specified files are not in the same branch
178
 
    
179
 
    May occur in:
180
 
        fileops.move()
181
165
    """
182
166
 
183
167
class NotVersionedError(OliveError):
194
178
        commit.push()
195
179
    """
196
180
 
197
 
class PermissionDenied(OliveError):
198
 
    """ Permission denied.
199
 
    
200
 
    May occur in:
201
 
        fileops.status()
202
 
    """
203
 
 
204
181
class PrefixFormatError(OliveError):
205
182
    """ Occurs if the prefix is badly formatted
206
183