386
386
"""Chroot transport, and decorate with userdir expander."""
387
387
self.base_path = self.get_base_path(transport)
388
388
chroot_server = chroot.ChrootServer(transport)
391
391
transport = get_transport(chroot_server.get_url())
392
392
if self.base_path is not None:
393
393
# Decorate the server's backing transport with a filter that can
395
395
expand_userdirs = self._make_expand_userdirs_filter(transport)
398
398
transport = get_transport(expand_userdirs.get_url())
399
399
self.transport = transport