mercurial/localrepo.py
changeset 39957 e1e3d1b498d3
parent 39854 823a580448d7
child 39958 3d35304bd09b
--- a/mercurial/localrepo.py	Mon Oct 01 23:11:07 2018 -0700
+++ b/mercurial/localrepo.py	Wed Sep 26 22:44:51 2018 -0700
@@ -1210,7 +1210,7 @@
             return changeid
         if isinstance(changeid, slice):
             # wdirrev isn't contiguous so the slice shouldn't include it
-            return [context.changectx(self, i)
+            return [self[i]
                     for i in pycompat.xrange(*changeid.indices(len(self)))
                     if i not in self.changelog.filteredrevs]
         try: