/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/smart/repository.py

  • Committer: Andrew Bennetts
  • Date: 2008-09-08 05:49:27 UTC
  • mto: This revision was merged to the branch mainline in revision 3696.
  • Revision ID: andrew.bennetts@canonical.com-20080908054927-q84h4v1c8dy91h92
Remove some unused imports and fix a couple of trivially broken raise statements.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
"""Server-side repository related request implmentations."""
18
18
 
19
19
import bz2
20
 
from cStringIO import StringIO
21
20
import os
22
21
import sys
23
22
import tempfile
28
27
    osutils,
29
28
    )
30
29
from bzrlib.bzrdir import BzrDir
31
 
from bzrlib.pack import ContainerSerialiser
32
30
from bzrlib.smart.request import (
33
31
    FailedSmartServerResponse,
34
32
    SmartServerRequest,
351
349
    """
352
350
 
353
351
    def do_repository_request(self, repository, compression):
354
 
        from bzrlib import osutils
355
352
        tmp_dirname, tmp_repo = self._copy_to_tempdir(repository)
356
353
        try:
357
354
            controldir_name = tmp_dirname + '/.bzr'