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