~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

Add submit: specifier, for merge-directive-like diffs

Show diffs side-by-side

added added

removed removed

Lines of Context:
471
471
       self.path = urlutils.unescape_for_display(path, 'ascii')
472
472
 
473
473
 
 
474
class NoSubmitBranch(PathError):
 
475
 
 
476
    _fmt = 'No submit branch available for branch "%(path)s"'
 
477
 
 
478
    def __init__(self, branch):
 
479
       import bzrlib.urlutils as urlutils
 
480
       self.path = urlutils.unescape_for_display(branch.base, 'ascii')
 
481
 
 
482
 
474
483
class AlreadyBranchError(PathError):
475
484
 
476
485
    _fmt = "Already a branch: %(path)s."