1999
2001
def build_tree(tree, wt, accelerator_tree=None, hardlink=False,
2001
2003
"""Create working tree for a branch, using a TreeTransform.
2003
2005
This function should be used on empty trees, having a tree root at most.
2004
2006
(see merge and revert functionality for working with existing trees)
2006
2008
Existing files are handled like so:
2008
2010
- Existing bzrdirs take precedence over creating new items. They are
2009
2011
created as '%s.diverted' % name.
2010
2012
- Otherwise, if the content on disk matches the content we are building,