13
13
# You should have received a copy of the GNU General Public License
14
14
# along with this program; if not, write to the Free Software
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
17
"""Export a Tree to a non-versioned directory.
25
26
from bzrlib import errors, export, osutils
26
27
from bzrlib.export import _export_iter_entries
27
32
from bzrlib.trace import mutter
30
def tar_exporter(tree, dest, root, subdir, compression=None):
35
def tar_exporter(tree, dest, root, subdir, compression=None, filtered=False):
31
36
"""Export this tree to a new tar file.
33
38
`dest` will be created holding the contents of this tree; if it