mercurial/localrepo.py
changeset 39959 43d3b09b3e5a
parent 39958 3d35304bd09b
child 39994 6962ebc8f817
--- a/mercurial/localrepo.py	Wed Sep 26 22:53:14 2018 -0700
+++ b/mercurial/localrepo.py	Wed Sep 26 23:09:28 2018 -0700
@@ -1228,8 +1228,7 @@
                 node = self.changelog.tip()
                 rev = self.changelog.rev(node)
                 return context.changectx(self, rev, node)
-            elif (changeid == '.'
-                  or self.local() and changeid == self.dirstate.p1()):
+            elif changeid == '.':
                 # this is a hack to delay/avoid loading obsmarkers
                 # when we know that '.' won't be hidden
                 node = self.dirstate.p1()