499
499
mode = os.lstat(self.abspath(path)).st_mode
500
500
return bool(stat.S_ISREG(mode) and stat.S_IEXEC & mode)
503
503
"""See Tree.iter_all_file_ids"""
505
506
for key, tree_details in self.current_dirstate()._iter_entries():
506
507
if tree_details[0][0] in ('a', 'r'): # relocated