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

Use dulwich standard functionality for finding missing revisions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
198
198
    def get_physical_lock_status(self):
199
199
        return False
200
200
 
201
 
 
202
 
class LocalGitBranch(GitBranch):
203
 
    """A local Git branch."""
204
 
 
205
201
    @needs_read_lock
206
202
    def last_revision(self):
207
203
        # perhaps should escape this ?
209
205
            return revision.NULL_REVISION
210
206
        return self.mapping.revision_id_foreign_to_bzr(self.head)
211
207
 
 
208
 
 
209
class LocalGitBranch(GitBranch):
 
210
    """A local Git branch."""
 
211
 
212
212
    def _get_checkout_format(self):
213
213
        """Return the most suitable metadir for a checkout of this branch.
214
214
        Weaves are used if this branch's repository uses weaves.