~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weavefile.py

  • Committer: Martin Pool
  • Date: 2005-09-12 01:29:49 UTC
  • mto: (1092.2.12) (974.1.76) (1185.8.2)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: mbp@sourcefrog.net-20050912012949-73a539d3f2542173
- patch from mpe to automatically add parent directories

Show diffs side-by-side

added added

removed removed

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