/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-03 03:20:44 UTC
  • mfrom: (7018.3.10 git-fixes)
  • Revision ID: breezy.the.bot@gmail.com-20180703032044-t5a5w5y0tmzrbezc
Port a few more bits of the git plugin to python 3.

Merged from https://code.launchpad.net/~jelmer/brz/git-fixes2/+merge/348803

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