/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 J. Tanner
  • Date: 2009-04-30 22:40:42 UTC
  • mfrom: (4323 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4324.
  • Revision ID: tanner@real-time.com-20090430224042-53v45axtue5bw45l
Merge 1.14.1 back to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1227
1227
            not_ancestor_id=not_ancestor_id)
1228
1228
 
1229
1229
 
1230
 
class InstallFailed(BzrError):
1231
 
 
1232
 
    def __init__(self, revisions):
1233
 
        revision_str = ", ".join(str(r) for r in revisions)
1234
 
        msg = "Could not install revisions:\n%s" % revision_str
1235
 
        BzrError.__init__(self, msg)
1236
 
        self.revisions = revisions
1237
 
 
1238
 
 
1239
1230
class AmbiguousBase(BzrError):
1240
1231
 
1241
1232
    def __init__(self, bases):
2960
2951
        BzrError.__init__(self, invalid_id=invalid_id)
2961
2952
 
2962
2953
 
 
2954
class JailBreak(BzrError):
 
2955
 
 
2956
    _fmt = "An attempt to access a url outside the server jail was made: '%(url)s'."
 
2957
 
 
2958
    def __init__(self, url):
 
2959
        BzrError.__init__(self, url=url)
 
2960
 
 
2961
 
2963
2962
class UserAbort(BzrError):
2964
2963
 
2965
2964
    _fmt = 'The user aborted the operation.'