/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: Robert Collins
  • Date: 2009-05-11 01:12:36 UTC
  • mto: This revision was merged to the branch mainline in revision 4593.
  • Revision ID: robertc@robertcollins.net-20090511011236-svd297xfll30g1wm
Add Branch._get_check_refs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
            raise errors.UnstackableRepositoryFormat(self.repository._format,
130
130
                self.repository.base)
131
131
 
 
132
    def _get_check_refs(self):
 
133
        """Get the references needed for check().
 
134
 
 
135
        See bzrlib.check.
 
136
        """
 
137
        revid = self.last_revision()
 
138
        return [('revision-existence', revid), ('lefthand-distance', revid)]
 
139
 
132
140
    @staticmethod
133
141
    def open(base, _unsupported=False, possible_transports=None):
134
142
        """Open the branch rooted at base.