56
55
When requesting a specific type of export, load the respective path.
58
def _loader(tree, dest, root, subdir, filtered, use_tree_timestamp):
57
def _loader(tree, dest, root, subdir, filtered, per_file_timestamps):
59
58
mod = __import__(module, globals(), locals(), [funcname])
60
59
func = getattr(mod, funcname)
61
60
return func(tree, dest, root, subdir, filtered=filtered,
63
62
register_exporter(scheme, extensions, _loader)
66
65
def export(tree, dest, format=None, root=None, subdir=None, filtered=False,
68
67
"""Export the given Tree to the specific destination.
70
69
:param tree: A Tree (such as RevisionTree) to export