I don't think this is safe for 2.0 but it might be ok for 2.1b1
280 +def create_from_tree(tt, trans_id, tree, file_id, bytes=None,
281 + filter_tree_path=None):
282 + """Create new file contents according to tree contents.
283 +
284 + :param filter_tree_path: the tree path to use to lookup
285 + content filters to apply to the bytes output in the working tree.
286 + This only applies if the working tree supports content filtering.
287 + """
I don't understand how that new parameter works:
Is it a single file? How can that work with tt working across a whole tree?
I don't think this is safe for 2.0 but it might be ok for 2.1b1
280 +def create_ from_tree( tt, trans_id, tree, file_id, bytes=None, tree_path= None):
281 + filter_
282 + """Create new file contents according to tree contents.
283 +
284 + :param filter_tree_path: the tree path to use to lookup
285 + content filters to apply to the bytes output in the working tree.
286 + This only applies if the working tree supports content filtering.
287 + """
I don't understand how that new parameter works:
Is it a single file? How can that work with tt working across a whole tree?