/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/export/dir_exporter.py

  • Committer: Ian Clatworthy
  • Date: 2008-07-30 00:26:38 UTC
  • mfrom: (3577.3.2 bzr.export-masking)
  • mto: This revision was merged to the branch mainline in revision 3592.
  • Revision ID: ian.clatworthy@canonical.com-20080730002638-oi59syl3uhh8d6s9
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)