diff --git a/mercurial/ancestor.py b/mercurial/ancestor.py
index 6c201f0d17b14f7323d9fbfdbd264ee28a43cebc_bWVyY3VyaWFsL2FuY2VzdG9yLnB5..5ce6daa676589f40a064c6ad88e70ee616c56ff4_bWVyY3VyaWFsL2FuY2VzdG9yLnB5 100644
--- a/mercurial/ancestor.py
+++ b/mercurial/ancestor.py
@@ -331,7 +331,7 @@
 
         Result does not include the null revision."""
         self._parentrevs = pfunc
-        self._initrevs = revs = [r for r in revs if r >= stoprev]
+        self._initrevs = [r for r in revs if r >= stoprev]
         self._stoprev = stoprev
         self._inclusive = inclusive