2825
2832
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):
2846
2835
def revert(working_tree, target_tree, filenames, backups=False,
2847
2836
pb=None, change_reporter=None):
2848
2837
"""Revert a working tree's contents to those of a target tree."""