/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: Canonical.com Patch Queue Manager
  • Date: 2007-05-21 15:24:46 UTC
  • mfrom: (1551.15.9 Aaron's mergeable stuff)
  • Revision ID: pqm@pqm.ubuntu.com-20070521152446-1v1dk0m7c705cdlx
Better error for selected-file commit of merges

Show diffs side-by-side

added added

removed removed

Lines of Context:
845
845
    _fmt = "No changes to commit"
846
846
 
847
847
 
 
848
class CannotCommitSelectedFileMerge(BzrError):
 
849
 
 
850
    _fmt = 'Selected-file commit of merges is not supported yet:'\
 
851
        ' files %(files_str)s'
 
852
 
 
853
    def __init__(self, files):
 
854
        files_str = ', '.join(files)
 
855
        BzrError.__init__(self, files=files, files_str=files_str)
 
856
 
 
857
 
848
858
class UpgradeReadonly(BzrError):
849
859
 
850
860
    _fmt = "Upgrade URL cannot work with readonly URLs."