2832
2816
tt.set_executability(entry.executable, trans_id)
2820
def get_backup_name(entry, by_parent, parent_trans_id, tt):
2821
return _get_backup_name(entry.name, by_parent, parent_trans_id, tt)
2825
def _get_backup_name(name, by_parent, parent_trans_id, tt):
2835
2837
def revert(working_tree, target_tree, filenames, backups=False,
2836
2838
pb=None, change_reporter=None):
2837
2839
"""Revert a working tree's contents to those of a target tree."""