23
23
class AlreadyBranchError(OliveError):
24
""" The specified directory is already a branch
30
class BoundBranchOutOfDate(OliveError):
31
""" Occurs if the bound branch is out of date
24
""" The specified directory is already a branch """
37
26
class BranchExistsWithoutWorkingTree(OliveError):
38
""" The specified directory is a branch, however it doesn't contain a working tree
44
class ConflictsInTreeError(OliveError):
45
""" Occurs if non-resolved conflicts remained in the tree
51
class ConnectionError(OliveError):
52
""" Occurs if cannot connect to remote host
58
class DifferentBranchesError(OliveError):
59
""" Occurs if the specified files are in different branches
27
""" The specified directory is a branch, however it doesn't contain a working tree """
65
29
class DirectoryAlreadyExists(OliveError):
66
""" The specified directory already exists
72
class DivergedBranchesError(OliveError):
73
""" The branches have been diverged
79
class EmptyMessageError(OliveError):
80
""" Occurs if no commit message specified
86
class LocalRequiresBoundBranch(OliveError):
87
""" Occurs when the local branch needs a bound branch
93
class MissingArgumentError(OliveError):
94
""" Occurs when not enough parameters are given.
100
class MultipleMoveError(OliveError):
101
""" Occurs when moving/renaming more than 2 files, but the last argument is not a directory
107
class NoChangesToCommitError(OliveError):
108
""" Occurs if there are no changes to commit
114
class NoFilesSpecified(OliveError):
115
""" No files were specified as an argument to a function
121
class NoLocationKnown(OliveError):
122
""" No location known or specified
129
class NoMatchingFiles(OliveError):
130
""" No files found which could match the criteria
136
class NoMessageNoFileError(OliveError):
137
""" No message and no file given (for commit)
30
""" The specified directory already exists """
143
32
class NonExistingParent(OliveError):
144
""" Parent directory doesn't exist
33
""" Parent directory doesn't exist """
152
35
class NonExistingRevision(OliveError):
153
""" The specified revision doesn't exist in the branch
36
""" The specified revision doesn't exist in the branch """
159
38
class NonExistingSource(OliveError):
160
""" The source provided doesn't exist
167
class NotBranchError(OliveError):
168
""" Specified directory is not a branch
176
class NotSameBranchError(OliveError):
177
""" The specified files are not in the same branch
183
class NotVersionedError(OliveError):
184
""" Occurs if the specified file/directory is not in the branch
190
class PathPrefixNotCreated(OliveError):
191
""" The path prefix couldn't be created
197
class PermissionDenied(OliveError):
198
""" Permission denied.
204
class PrefixFormatError(OliveError):
205
""" Occurs if the prefix is badly formatted
39
""" The source provided doesn't exist """
211
41
class RevisionValueError(OliveError):
212
""" Invalid revision value provided
218
class StrictCommitError(OliveError):
219
""" Occurs if strict commit fails
42
""" Invalid revision value provided """
225
44
class TargetAlreadyExists(OliveError):
226
""" Target directory already exists
45
""" Target directory already exists """