/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/bzr/smart/repository.py

  • Committer: Jelmer Vernooij
  • Date: 2018-05-27 18:00:21 UTC
  • mto: (6973.12.2 python3-k)
  • mto: This revision was merged to the branch mainline in revision 6992.
  • Revision ID: jelmer@jelmer.uk-20180527180021-kbdxgsh5bbbxha8o
Random bunch of python3 bee-improvements.

Show diffs side-by-side

added added

removed removed

Lines of Context:
308
308
            # Note that we return an empty body, rather than omitting the body.
309
309
            # This way the client knows that it can always expect to find a body
310
310
            # in the response for this method, even in the error case.
311
 
            return FailedSmartServerResponse((b'nosuchrevision', revision_id), '')
 
311
            return FailedSmartServerResponse((b'nosuchrevision', revision_id), b'')
312
312
 
313
313
        for revision, parents in revision_graph.items():
314
314
            lines.append(b' '.join((revision, ) + tuple(parents)))
315
315
 
316
 
        return SuccessfulSmartServerResponse((b'ok', ), '\n'.join(lines))
 
316
        return SuccessfulSmartServerResponse((b'ok', ), b'\n'.join(lines))
317
317
 
318
318
 
319
319
class SmartServerRepositoryGetRevIdForRevno(SmartServerRepositoryReadLocked):