/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/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-02-25 15:27:18 UTC
  • mfrom: (4010.2.3 export-missing)
  • Revision ID: pqm@pqm.ubuntu.com-20090225152718-pj9aien54kw4vimg
(James) Handle files not present in the tree in exportt. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
        # .bzrignore and .bzrrules - do not export these
152
152
        if entry[0].startswith(".bzr"):
153
153
            continue
 
154
        if subdir is None:
 
155
            if not tree.has_filename(entry[0]):
 
156
                continue
 
157
        else:
 
158
            if not tree.has_filename(os.path.join(subdir, entry[0])):
 
159
                continue
154
160
        yield entry
155
161
 
156
162