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

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-25 18:15:53 UTC
  • mfrom: (7045.4.7 python3-s)
  • Revision ID: breezy.the.bot@gmail.com-20180725181553-mz6zhncntlovb8ii
Fix another couple of hundred tests on Python 3.

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
            self.user_transport, "get_segment_parameters", lambda: {})()
138
138
        ref = segment_parameters.get("ref")
139
139
        if ref is not None:
140
 
            return urlutils.unescape(ref)
 
140
            return urlutils.unquote_to_bytes(ref)
141
141
        if branch is None and getattr(self, "_get_selected_branch", False):
142
142
            branch = self._get_selected_branch()
143
143
            if branch is not None:
285
285
        return ret
286
286
 
287
287
    def list_branches(self):
288
 
        return self.get_branches().values()
 
288
        return list(self.get_branches().values())
289
289
 
290
290
    def push_branch(self, source, revision_id=None, overwrite=False,
291
291
                    remember=False, create_prefix=False, lossy=False,