diff -r 0d032756e9bf -r d99468d2b09a mercurial/cmdutil.py --- a/mercurial/cmdutil.py Wed Aug 08 17:07:27 2018 -0700 +++ b/mercurial/cmdutil.py Wed Aug 08 19:29:02 2018 +0530 @@ -1899,7 +1899,7 @@ # wanted: a cache of filenames that were changed (ctx.files()) and that # match the file filtering conditions. - if match.always(): + if match.always() or allfiles: # No files, no patterns. Display all revs. wanted = revs elif not slowpath: