/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: Jelmer Vernooij
  • Date: 2009-03-04 13:27:50 UTC
  • mfrom: (4075 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4076.
  • Revision ID: jelmer@samba.org-20090304132750-2mdmad8r8agxc0hn
Merge bzr.dev.

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