~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weavefile.py

Merge in format-5 work - release bzr 0.1rc1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
 
99
99
def read_weave_v5(f):
100
100
    from weave import Weave, WeaveFormatError
101
 
    w = Weave()
 
101
    w = Weave(getattr(f, 'name', None))
102
102
 
103
103
    l = f.readline()
104
104
    if l != FORMAT_1: