##// END OF EJS Templates
pull request: use unionrepo instead of outgoing...
pull request: use unionrepo instead of outgoing This makes it possible to look the 'moving target' symbols up in the right repo. Using a revset with the right revisions also removes the need for pruning changesets that are outside the requested range. It will also not be confused by changesets that for some reason has been pulled to the repo but haven't been merged yet. They are going to be 'merged' by the 'pull' request and should thus be a part of what is reviewed.

File last commit:

r2007:324ac367 beta
r3303:ae5ac36c beta
Show More
exceptions.py
93 lines | 1.2 KiB | text/x-python | PythonLexer
Added VCS into rhodecode core for faster and easier deployments of new versions
r2007 # -*- coding: utf-8 -*-
"""
vcs.exceptions
~~~~~~~~~~~~~~
Custom exceptions module
:created_on: Apr 8, 2010
:copyright: (c) 2010-2011 by Marcin Kuzminski, Lukasz Balcerzak.
"""
class VCSError(Exception):
pass
class RepositoryError(VCSError):
pass
class EmptyRepositoryError(RepositoryError):
pass
class TagAlreadyExistError(RepositoryError):
pass
class TagDoesNotExistError(RepositoryError):
pass
class BranchAlreadyExistError(RepositoryError):
pass
class BranchDoesNotExistError(RepositoryError):
pass
class ChangesetError(RepositoryError):
pass
class ChangesetDoesNotExistError(ChangesetError):
pass
class CommitError(RepositoryError):
pass
class NothingChangedError(CommitError):
pass
class NodeError(VCSError):
pass
class RemovedFileNodeError(NodeError):
pass
class NodeAlreadyExistsError(CommitError):
pass
class NodeAlreadyChangedError(CommitError):
pass
class NodeDoesNotExistError(CommitError):
pass
class NodeNotChangedError(CommitError):
pass
class NodeAlreadyAddedError(CommitError):
pass
class NodeAlreadyRemovedError(CommitError):
pass
class ImproperArchiveTypeError(VCSError):
pass
class CommandError(VCSError):
pass