log: remove useless condition
authorNicolas Dumazet <nicdumz.commits@gmail.com>
Fri, 23 Apr 2010 15:24:11 +0900
changeset 11017 80b9101688ac
parent 11016 6a539853d4c0
child 11018 17cf756ba25d
log: remove useless condition for "copied" to be not None, it requires follow=True
mercurial/cmdutil.py
--- a/mercurial/cmdutil.py	Mon Apr 26 16:36:08 2010 +0200
+++ b/mercurial/cmdutil.py	Fri Apr 23 15:24:11 2010 +0900
@@ -1113,7 +1113,7 @@
                     fncache.setdefault(rev, [])
                     fncache[rev].append(file_)
                     wanted.add(rev)
-                    if follow and copied:
+                    if copied:
                         copies.append(copied)
     if slowpath:
         if follow: