diff -r 9897babc1fb5 -r b3abdb3d819e hgext3rd/topic/__init__.py --- a/hgext3rd/topic/__init__.py Mon Sep 04 12:19:49 2017 +0200 +++ b/hgext3rd/topic/__init__.py Mon Sep 04 12:23:03 2017 +0200 @@ -135,7 +135,7 @@ # XXX we might want to include t0 here, # however t0 is related to 'currenttopic' which has no place here. return None - revlist = stack.getstack(self._repo, topic=topic) + revlist = stack.stack(self._repo, topic=topic) try: return revlist.index(self.rev()) except IndexError: @@ -154,12 +154,12 @@ tname = topic = repo.currenttopic if not tname: raise error.Abort(_('cannot resolve "%s": no active topic') % name) - revs = list(stack.getstack(repo, topic=topic)) + revs = list(stack.stack(repo, topic=topic)) elif branchrev.match(name): ttype = 'branch' idx = int(name[1:]) tname = branch = repo[None].branch() - revs = list(stack.getstack(repo, branch=branch)) + revs = list(stack.stack(repo, branch=branch)) if revs is not None: try: