~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/knit.py

  • Committer: Andrew Bennetts
  • Date: 2011-02-25 08:45:27 UTC
  • mto: This revision was merged to the branch mainline in revision 5695.
  • Revision ID: andrew.bennetts@canonical.com-20110225084527-0ucp7p00d00hoqon
Add another test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
 
55
55
from cStringIO import StringIO
56
56
from itertools import izip
 
57
import gzip
57
58
import operator
58
59
import os
59
60
import sys
60
61
 
61
62
from bzrlib.lazy_import import lazy_import
62
63
lazy_import(globals(), """
63
 
import gzip
64
 
 
65
64
from bzrlib import (
66
65
    annotate,
67
66
    debug,
84
83
    osutils,
85
84
    )
86
85
from bzrlib.errors import (
 
86
    FileExists,
87
87
    NoSuchFile,
 
88
    KnitError,
88
89
    InvalidRevisionId,
89
90
    KnitCorrupt,
90
91
    KnitHeaderError,
91
92
    RevisionNotPresent,
 
93
    RevisionAlreadyPresent,
92
94
    SHA1KnitCorrupt,
93
95
    )
94
96
from bzrlib.osutils import (
95
97
    contains_whitespace,
 
98
    contains_linebreaks,
96
99
    sha_string,
97
100
    sha_strings,
98
101
    split_lines,
102
105
    adapter_registry,
103
106
    ConstantMapper,
104
107
    ContentFactory,
 
108
    ChunkedContentFactory,
105
109
    sort_groupcompress,
 
110
    VersionedFile,
106
111
    VersionedFiles,
107
112
    )
108
113