# HG changeset patch # User Nicolas Dumazet # Date 2010-04-23 06:24:11 # Node ID 80b9101688ac0cb26e4ead6eb85c5e8f0b6459ee # Parent 6a539853d4c0971cf87be7cee1c0626ede33bfb0 log: remove useless condition for "copied" to be not None, it requires follow=True diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -1113,7 +1113,7 @@ def walkchangerevs(repo, match, opts, pr fncache.setdefault(rev, []) fncache[rev].append(file_) wanted.add(rev) - if follow and copied: + if copied: copies.append(copied) if slowpath: if follow: