~jelmer/bzr-git/705807-dpush

« back to all changes in this revision

Viewing changes to remote.py

  • Committer: Jelmer Vernooij
  • Date: 2011-03-22 17:29:53 UTC
  • Revision ID: jelmer@samba.org-20110322172953-2dz1ac3ozy5p6dro
Remove no longer necessary compatibility code for open_branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
219
219
    def open_repository(self):
220
220
        return RemoteGitRepository(self, self._lockfiles)
221
221
 
222
 
    def _open_branch(self, name=None, ignore_fallbacks=False, 
223
 
                    unsupported=False):
 
222
    def open_branch(self, name=None, unsupported=False, ignore_fallbacks=False):
224
223
        repo = self.open_repository()
225
224
        refname = self._branch_name_to_ref(name)
226
225
        return RemoteGitBranch(self, repo, refname, self._lockfiles)