mercurial/cmdutil.py
changeset 24061 4fa72a09c73d
parent 24060 eb1c9700d19d
child 24062 f576addb5b77
--- a/mercurial/cmdutil.py	Thu Feb 05 23:49:18 2015 +0900
+++ b/mercurial/cmdutil.py	Fri Feb 06 00:06:47 2015 +0900
@@ -1837,7 +1837,7 @@
     if opts.get('rev'):
         revs = scmutil.revrange(repo, opts['rev'])
     else:
-        if follow and len(repo) > 0:
+        if follow:
             revs = repo.revs('reverse(:.)')
         else:
             revs = revset.spanset(repo)