/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 breezy/plugins/git/server.py

  • Committer: Jelmer Vernooij
  • Date: 2018-07-01 21:13:21 UTC
  • mto: This revision was merged to the branch mainline in revision 7027.
  • Revision ID: jelmer@jelmer.uk-20180701211321-dazu15ry3tcvny2l
Fix some git tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
 
60
60
    def open_repository(self, path):
61
61
        # FIXME: More secure path sanitization
62
 
        transport = self.transport.clone(path.lstrip("/"))
 
62
        transport = self.transport.clone(path.decode('utf-8').lstrip("/"))
63
63
        trace.mutter('client opens %r: %r', path, transport)
64
64
        return BzrBackendRepo(transport, self.mapping)
65
65