changeset 3511:768f752b5364 stable

serverminitopic: fix wrong object being passed to phase
author Sean Farley <sean@farley.io>
date Tue, 05 Dec 2017 20:45:46 -0800
parents 3bd642f11313
children b1cc19e5ef24 b3d2e0576d4c
files hgext3rd/serverminitopic.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()