~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/export/zip_exporter.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-07-30 01:00:50 UTC
  • mfrom: (3591.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080730010050-yt2pf2kmm4x4c033
do not export things in the .bzr* namespace including .bzrrules (Ian
        Clatworthy)

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
        entries = inv.iter_entries()
56
56
        entries.next() # skip root
57
57
        for dp, ie in entries:
58
 
            # .bzrignore has no meaning outside of a working tree
59
 
            # so do not export it
60
 
            if dp == ".bzrignore":
 
58
            # The .bzr* namespace is reserved for "magic" files like
 
59
            # .bzrignore and .bzrrules - do not export these
 
60
            if dp.startswith(".bzr"):
61
61
                continue
62
62
 
63
63
            file_id = ie.file_id