~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Aaron Bentley
  • Date: 2005-09-25 05:01:17 UTC
  • mto: (1185.14.1) (1393.1.21)
  • mto: This revision was merged to the branch mainline in revision 1391.
  • Revision ID: aaron.bentley@utoronto.ca-20050925050117-dc4b46505adfc0d7
Added --basis option to bzr branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
    def __init__(self, branch):
144
144
        msg = "Branch %s has no commits." % branch
145
145
        BzrError.__init__(self, msg)
 
146
 
 
147
class UnlistableStore(BzrError):
 
148
    def __init__(self, store):
 
149
        BzrError.__init__(self, "Store %s is not listable" % store)
 
150
 
 
151
class UnlistableBranch(BzrError):
 
152
    def __init__(self, br):
 
153
        BzrError.__init__(self, "Stores for branch %s are not listable" % br)