/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

Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2561
2561
        BzrError.__init__(self, bzrdir=bzrdir, display_url=display_url)
2562
2562
 
2563
2563
 
 
2564
class UnsyncedBranches(BzrDirError):
 
2565
 
 
2566
    _fmt = ("'%(display_url)s' is not in sync with %(target_url)s.  See"
 
2567
            " bzr help sync-for-reconfigure.")
 
2568
 
 
2569
    def __init__(self, bzrdir, target_branch):
 
2570
        BzrDirError.__init__(self, bzrdir)
 
2571
        import bzrlib.urlutils as urlutils
 
2572
        self.target_url = urlutils.unescape_for_display(target_branch.base,
 
2573
                                                        'ascii')
 
2574
 
 
2575
 
2564
2576
class AlreadyBranch(BzrDirError):
2565
2577
 
2566
2578
    _fmt = "'%(display_url)s' is already a branch."