~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weavefile.py

  • Committer: Martin Pool
  • Date: 2005-10-06 10:53:12 UTC
  • mto: (1185.13.3)
  • mto: This revision was merged to the branch mainline in revision 1418.
  • Revision ID: mbp@sourcefrog.net-20051006105312-06320dbb986e4bb3
- test that we cannot join weaves with different ancestry

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: