200
200
def get_contents(entry, tree):
201
204
"""Get a contents change element suitable for use with ReplaceContents
204
207
if tree_entry.kind == "file":
207
210
assert tree_entry.kind in ("root_directory", "directory")
208
211
return changeset.dir_create