serverminitopic: fix wrong object being passed to phase stable
authorSean Farley <sean@farley.io>
Tue, 05 Dec 2017 20:45:46 -0800
branchstable
changeset 3511 768f752b5364
parent 3510 3bd642f11313
child 3513 b1cc19e5ef24
child 3531 b3d2e0576d4c
serverminitopic: fix wrong object being passed to phase
hgext3rd/serverminitopic.py
--- a/hgext3rd/serverminitopic.py	Fri Mar 02 19:33:20 2018 -0500
+++ b/hgext3rd/serverminitopic.py	Tue Dec 05 20:45:46 2017 -0800
@@ -68,7 +68,7 @@
     def branchinfo(self, rev):
         """return branch name and close flag for rev, using and updating
         persistent cache."""
-        phase = self._repo._phasecache.phase(self, rev)
+        phase = self._repo._phasecache.phase(self._repo, rev)
         if phase:
             ctx = self._repo[rev]
             return ctx.branch(), ctx.closesbranch()