~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/groupcompress.py

  • Committer: John Arbash Meinel
  • Date: 2009-03-13 23:41:10 UTC
  • mto: (3735.2.148 brisbane-core)
  • mto: This revision was merged to the branch mainline in revision 4280.
  • Revision ID: john@arbash-meinel.com-20090313234110-24lua3erg22kxaqx
The 'delta' flag has no effect on the content (all GC is delta'd),

However, it can mess up make_pack_factory because the GCVF doesn't think there are
references, but the GCGraphIndex does.

Show diffs side-by-side

added added

removed removed

Lines of Context:
526
526
    :param keylength: How long should keys be.
527
527
    """
528
528
    def factory(transport):
529
 
        parents = graph or delta
 
529
        parents = graph
530
530
        ref_length = 0
531
531
        if graph:
532
532
            ref_length = 1