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

Handle unsupported flag to open_branch().

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
    get_workingtree_transport = get_branch_transport
121
121
 
122
122
 
123
 
    def open_branch(self, ignore_fallbacks=None, name=None):
 
123
    def open_branch(self, ignore_fallbacks=None, name=None, unsupported=False):
124
124
        """'create' a branch for this dir."""
125
125
        repo = self.open_repository()
126
126
        from bzrlib.plugins.git.branch import LocalGitBranch
158
158
    def create_branch(self, name=None):
159
159
        refname = self._branch_name_to_ref(name)
160
160
        self._git.refs[refname] = "0" * 40
161
 
        return self.open_branch()
 
161
        return self.open_branch(name)
162
162
 
163
163
    def backup_bzrdir(self):
164
164
        if self._git.bare: