diff -r efc76b1563f0 -r aaf8742e09a0 hgext3rd/topic/stack.py --- a/hgext3rd/topic/stack.py Tue Sep 03 13:02:20 2019 +0700 +++ b/hgext3rd/topic/stack.py Fri Sep 06 12:16:34 2019 +0700 @@ -88,6 +88,9 @@ @util.propertycache def _dependencies(self): + return self.builddependencies() + + def builddependencies(self): deps, rdeps = builddependencies(self._repo, self._revs) repo = self._repo @@ -143,7 +146,7 @@ # processed dependency graph. # Step 1: compute relation of revision with each other - dependencies, rdependencies = self._dependencies + dependencies, rdependencies = self.builddependencies() dependencies = dependencies.copy() rdependencies = rdependencies.copy() # Step 2: Build the ordering