~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/export/dir_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:
42
42
    entries = inv.iter_entries()
43
43
    entries.next() # skip root
44
44
    for dp, ie in entries:
45
 
        # .bzrignore has no meaning outside of a working tree
46
 
        # so do not export it
47
 
        if dp == ".bzrignore":
 
45
        # The .bzr* namespace is reserved for "magic" files like
 
46
        # .bzrignore and .bzrrules - do not export these
 
47
        if dp.startswith(".bzr"):
48
48
            continue
49
49
        
50
50
        fullpath = osutils.pathjoin(dest, dp)