/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

remove more duplicate merged hunks. Bad MERGE3, BAD.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /usr/bin/env python
1
2
# -*- coding: UTF-8 -*-
2
3
 
3
4
# This program is free software; you can redistribute it and/or modify
104
105
            " specified."
105
106
        BzrCommandError.__init__(self, msg)
106
107
 
107
 
class NoCommonAncestor(BzrError):
108
 
    def __init__(self, revision_a, revision_b):
109
 
        msg = "Revisions have no common ancestor: %s %s." \
110
 
            % (revision_a, revision_b) 
111
 
        BzrError.__init__(self, msg)
112
 
 
113
 
class NoCommonRoot(BzrError):
114
 
    def __init__(self, revision_a, revision_b):
115
 
        msg = "Revisions are not derived from the same root: %s %s." \
116
 
            % (revision_a, revision_b) 
117
 
        BzrError.__init__(self, msg)
118
108
 
119
109
class NotAncestor(BzrError):
120
110
    def __init__(self, rev_id, not_ancestor_id):
139
129
        BzrError.__init__(self, msg)
140
130
        self.bases = bases
141
131
 
142
 
class NoCommits(BzrError):
143
 
    def __init__(self, branch):
144
 
        msg = "Branch %s has no commits." % branch
145
 
        BzrError.__init__(self, msg)