/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-06-12 23:18:08 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-20060612231808-cb80db10cf0beaf1
* backend/init.py: checkout() implemented - not tested yet
* backend/commit.py: push() implemented - not tested yet
* backend/error.py: another bunch of exceptions added

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
        fileops.mkdir()
56
56
    """
57
57
 
 
58
class DivergedBranchesError(OliveError):
 
59
    """ The branches have been diverged
 
60
    
 
61
    May occur in:
 
62
        commit.push()
 
63
    """
 
64
 
58
65
class EmptyMessageError(OliveError):
59
66
    """ Occurs if no commit message specified
60
67
    
102
109
    
103
110
    May occur in:
104
111
        init.branch()
 
112
        init.checkout()
 
113
        commit.push()
105
114
    """
106
115
 
107
116
class NonExistingRevision(OliveError):
118
127
        init.branch()
119
128
    """
120
129
 
 
130
class NoPushLocationKnown(OliveError):
 
131
    """ No push location known or specified
 
132
    
 
133
    May occur in:
 
134
        commit.push()
 
135
    """
 
136
 
121
137
class NotBranchError(OliveError):
122
138
    """ Specified directory is not a branch
123
139
    
132
148
        fileops.remove()
133
149
    """
134
150
 
 
151
class PathPrefixNotCreated(OliveError):
 
152
    """ The path prefix couldn't be created
 
153
    
 
154
    May occur in:
 
155
        commit.push()
 
156
    """
 
157
 
135
158
class RevisionValueError(OliveError):
136
159
    """ Invalid revision value provided
137
160
    
138
161
    May occur in:
139
162
        init.branch()
 
163
        init.checkout()
140
164
    """
141
165
 
142
166
class StrictCommitError(OliveError):
151
175
    
152
176
    May occur in:
153
177
        init.branch()
 
178
        init.checkout()
154
179
    """