/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

Fix `bzr-receive-pack` and `bzr-upload-pack`.

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
    def create_workingtree(self, revision_id=None, from_branch=None,
259
259
        accelerator_tree=None, hardlink=False):
260
260
        if self._git.bare:
261
 
            raise bzr_errors.BzrError("Can't create working tree in a bare repo")
 
261
            raise bzr_errors.UnsupportedOperation(self.create_workingtree, self)
262
262
        from dulwich.index import write_index
263
263
        from dulwich.pack import SHA1Writer
264
264
        f = open(self.transport.local_abspath("index"), 'w+')