mercurial/cmdutil.py
changeset 25271 1b1eaf1885df
parent 25259 5b05f10c5024
child 25272 6c76c42a5893
equal deleted inserted replaced
25270:61b3529e2377 25271:1b1eaf1885df
  1765     # match the file filtering conditions.
  1765     # match the file filtering conditions.
  1766 
  1766 
  1767     if match.always():
  1767     if match.always():
  1768         # No files, no patterns.  Display all revs.
  1768         # No files, no patterns.  Display all revs.
  1769         wanted = revs
  1769         wanted = revs
  1770 
  1770     elif not slowpath:
  1771     if not slowpath and match.files():
       
  1772         # We only have to read through the filelog to find wanted revisions
  1771         # We only have to read through the filelog to find wanted revisions
  1773 
  1772 
  1774         try:
  1773         try:
  1775             wanted = walkfilerevs(repo, match, follow, revs, fncache)
  1774             wanted = walkfilerevs(repo, match, follow, revs, fncache)
  1776         except FileWalkError:
  1775         except FileWalkError: