~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-25 02:47:25 UTC
  • mfrom: (2625.8.2 knits)
  • Revision ID: pqm@pqm.ubuntu.com-20070725024725-x592w4y7gdqxv81x
(robertc) Allow the adaption of Knits to external indices via KnitGraphIndex. (Robert Collins).

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
            return FailedSmartServerResponse(('nosuchrevision', revision_id), '')
73
73
 
74
74
        for revision, parents in revision_graph.items():
75
 
            lines.append(' '.join([revision,] + parents))
 
75
            lines.append(' '.join((revision, ) + tuple(parents)))
76
76
 
77
77
        return SuccessfulSmartServerResponse(('ok', ), '\n'.join(lines))
78
78