~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/branch.py

  • Committer: Andrew Bennetts
  • Date: 2007-08-17 08:31:52 UTC
  • mto: This revision was merged to the branch mainline in revision 3320.
  • Revision ID: andrew.bennetts@canonical.com-20070817083152-rmhqerwquini7tiz
Add translate_client_path method to SmartServerRequest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
        If the branch is a branch reference, NotBranchError is raised.
36
36
        """
37
 
        transport = self._backing_transport.clone(path)
 
37
        transport = self.transport_from_client_path(path)
38
38
        bzrdir = BzrDir.open_from_transport(transport)
39
39
        if bzrdir.get_branch_reference() is not None:
40
40
            raise errors.NotBranchError(transport.base)