/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/memorytree.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-25 00:54:22 UTC
  • mfrom: (7045.1.23 python3-p)
  • Revision ID: breezy.the.bot@gmail.com-20180725005422-a1rubn7zssfn2uvu
Fix some more tests on Python 3.

Merged from https://code.launchpad.net/~jelmer/brz/python3-p/+merge/349784

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
        while trees:
97
97
            (path, tree) = trees.pop()
98
98
            for name, mode, sha in tree.iteritems():
99
 
                subpath = posixpath.join(path, name)
 
99
                subpath = posixpath.join(path, name.decode('utf-8'))
100
100
                if stat.S_ISDIR(mode):
101
101
                    self._file_transport.mkdir(subpath)
102
102
                    trees.append((subpath, self.store[sha]))