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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-30 19:32:13 UTC
  • mfrom: (6637 work)
  • mto: This revision was merged to the branch mainline in revision 6639.
  • Revision ID: jelmer@jelmer.uk-20170530193213-qm21s6dc7dln237t
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
193
193
                if path.startswith(_abspath):
194
194
                    trailing = path[len(_abspath):]
195
195
                    if trailing and '/' not in trailing:
196
 
                        result.append(trailing)
197
 
        return map(urlutils.escape, result)
 
196
                        result.append(urlutils.escape(trailing))
 
197
        return result
198
198
 
199
199
    def rename(self, rel_from, rel_to):
200
200
        """Rename a file or directory; fail if the destination exists"""