/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/branch.py

  • Committer: Aaron Bentley
  • Date: 2007-07-11 14:58:54 UTC
  • mto: This revision was merged to the branch mainline in revision 2606.
  • Revision ID: abentley@panoramicfeedback.com-20070711145854-06486yosdvexapy1
Got all tests passing with Branch returning 'null:' for null revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
1962
1962
 
1963
1963
    def _check_history_violation(self, revision_id):
1964
1964
        last_revision = self.last_revision()
1965
 
        if last_revision is None:
 
1965
        if _mod_revision.is_null(last_revision):
1966
1966
            return
1967
1967
        if last_revision not in self._lefthand_history(revision_id):
1968
1968
            raise errors.AppendRevisionsOnlyViolation(self.base)