##// END OF EJS Templates
store: use the boolean property in `store`
marmoute -
r51391:1b776f25 default
parent child Browse files
Show More
@@ -41,9 +41,9 b' def _match_tracked_entry(entry, matcher)'
41
41
42 if matcher is None:
42 if matcher is None:
43 return True
43 return True
44 if entry.revlog_type == FILEFLAGS_FILELOG:
44 if entry.is_filelog:
45 return matcher(entry.target_id)
45 return matcher(entry.target_id)
46 elif entry.revlog_type == FILEFLAGS_MANIFESTLOG:
46 elif entry.is_manifestlog:
47 return matcher.visitdir(entry.target_id.rstrip(b'/'))
47 return matcher.visitdir(entry.target_id.rstrip(b'/'))
48 raise error.ProgrammingError(b"cannot process entry %r" % entry)
48 raise error.ProgrammingError(b"cannot process entry %r" % entry)
49
49
General Comments 0
You need to be logged in to leave comments. Login now