~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2005-09-07 23:24:41 UTC
  • mto: (1092.2.12) (974.1.76) (1185.8.2)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: mbp@sourcefrog.net-20050907232441-1dcedd080d39e151
- remove -r option from status command because it's not used
  patch from Magnus Therning

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
        self.revisions = revisions
114
114
        msg = "Could not install revisions:\n%s" % " ,".join(revisions)
115
115
        BzrError.__init__(self, msg)
 
116
 
 
117
 
 
118
class AmbiguousBase(BzrError):
 
119
    def __init__(self, bases):
 
120
        msg = "The correct base is unclear, becase %s are all equally close" %\
 
121
            ", ".join(bases)
 
122
        BzrError.__init__(self, msg)
 
123
        self.bases = bases
 
124