~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2005-10-07 04:10:46 UTC
  • mto: This revision was merged to the branch mainline in revision 1420.
  • Revision ID: robertc@robertcollins.net-20051007041046-10b07ae31ecde799
introduce transactions for grouping actions done to and with branches

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
            Exception.__init__(self)
95
95
 
96
96
 
 
97
class CommitNotPossible(LockError):
 
98
    """A commit was attempted but we do not have a write lock open."""
 
99
 
 
100
 
 
101
class AlreadyCommitted(LockError):
 
102
    """A rollback was requested, but is not able to be accomplished."""
 
103
 
 
104
 
97
105
class PointlessCommit(Exception):
98
106
    """Commit failed because nothing was changed."""
99
107