mercurial/cmdutil.py
changeset 19293 446ab88d3f1c
parent 19290 f21f4a1b6c24
child 19474 894fd1a7c533
--- a/mercurial/cmdutil.py	Thu May 30 19:29:03 2013 -0700
+++ b/mercurial/cmdutil.py	Thu May 30 18:47:16 2013 -0700
@@ -1338,7 +1338,7 @@
                 raise util.Abort(_('cannot follow file not in parent '
                                    'revision: "%s"') % f)
             filelog = repo.file(f)
-            if not len(filelog):
+            if not filelog:
                 # A zero count may be a directory or deleted file, so
                 # try to find matching entries on the slow path.
                 if follow: