~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/branch.py

  • Committer: Jelmer Vernooij
  • Date: 2011-09-27 11:34:38 UTC
  • mto: This revision was merged to the branch mainline in revision 6216.
  • Revision ID: jelmer@samba.org-20110927113438-iaunzmkn9yscv0al
More test fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
        The revision list is returned as the body content,
172
172
        with each revision utf8 encoded and \x00 joined.
173
173
        """
 
174
        history = list(branch.iter_reverse_revision_history())
174
175
        return SuccessfulSmartServerResponse(
175
 
            ('ok', ), ('\x00'.join(branch.iter_revision_history())))
 
176
            ('ok', ), ('\x00'.join(reversed(history))))
176
177
 
177
178
 
178
179
class SmartServerBranchRequestLastRevisionInfo(SmartServerBranchRequest):