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