/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2006-02-16 07:20:25 UTC
  • mto: (1534.1.24 integration)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: robertc@robertcollins.net-20060216072025-8a97e0b2c3f3cc92
Start factoring out the upgrade policy logic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
294
294
    """Upgrade URL cannot work with readonly URL's."""
295
295
 
296
296
 
 
297
class UpToDateFormat(BzrNewError):
 
298
    """The branch format %(format)s is already at the most recent format."""
 
299
 
 
300
    def __init__(self, format):
 
301
        BzrNewError.__init__(self)
 
302
        self.format = format
 
303
 
 
304
 
297
305
class StrictCommitFailed(Exception):
298
306
    """Commit refused because there are unknowns in the tree."""
299
307