/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/transport/__init__.py

Merge 2.0 into 2.1 including fixes for #262450, #373898, #498409

Show diffs side-by-side

added added

removed removed

Lines of Context:
1060
1060
        """
1061
1061
        source = self.clone(from_relpath)
1062
1062
        target = self.clone(to_relpath)
1063
 
        target.mkdir('.')
 
1063
 
 
1064
        # create target directory with the same rwx bits as source.
 
1065
        # use mask to ensure that bits other than rwx are ignored.
 
1066
        stat = self.stat(from_relpath)
 
1067
        target.mkdir('.', stat.st_mode & 0777)
1064
1068
        source.copy_tree_to_transport(target)
1065
1069
 
1066
1070
    def copy_tree_to_transport(self, to_transport):