changeset 23820:60178888be05

filelog: remove unused variable 'lkr' It's used further down, but it's overwritten before, so it's technically a dead assignment, but unnecessary nevertheless.
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 12 Jan 2015 09:48:05 -0800
parents 6bf93440a717
children 7a7f437ab63d
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revset.py	Sat Jan 10 12:00:03 2015 -0500
+++ b/mercurial/revset.py	Mon Jan 12 09:48:05 2015 -0800
@@ -805,7 +805,7 @@
         lowesthead = None # cache for manifest content of all head revisions
         fl = repo.file(f)
         for fr in list(fl):
-            lkr = rev = fl.linkrev(fr)
+            rev = fl.linkrev(fr)
             if rev not in cl:
                 # changerev pointed in linkrev is filtered
                 # record it for post processing.