2830
2830
# find the file ids to log and check for directory filtering
2831
2831
b, file_info_list, rev1, rev2 = _get_info_for_log_files(
2832
2832
revision, file_list, self._exit_stack)
2835
2835
raise errors.CommandError(gettext(
2836
2836
"Path unknown at end or start of revision range: %s") %
2838
2838
# If the relpath is the top of the tree, we log everything
2844
2844
filter_by_dir = filter_by_dir or (
2845
2845
kind in ['directory', 'tree-reference'])