51
51
for path, ie in inv.iter_entries():
52
52
w = repository.weave_store.get_weave_or_empty(ie.file_id,
53
53
repository.get_transaction())
55
55
repository.weave_store.add_text(ie.file_id,
57
57
cset_tree.get_file(ie.file_id).readlines(),
58
58
present_parents, repository.get_transaction())
77
64
def apply_changeset(branch, from_file, reverse=False, auto_commit=False):
78
65
"""Read in a changeset from the given file, and apply it to