~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bundle/serializer/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-23 18:09:10 UTC
  • mfrom: (1793.2.10 bundles)
  • Revision ID: pqm@pqm.ubuntu.com-20060623180910-c45d7b3db60625f7
Ensure that crlf bundles don't cause path to be treated as branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        if m:
53
53
            version = m.group('version')
54
54
            break
 
55
        elif line.startswith(BUNDLE_HEADER):
 
56
            raise errors.MalformedHeader()
55
57
        m = CHANGESET_OLD_HEADER_RE.match(line)
56
58
        if m:
57
59
            version = m.group('version')