Mercurial > evolve
diff hgext3rd/serverminitopic.py @ 4192:e527df0f2a68 stable
topic: add the changelog argument to branchinfo()
47c03042cd1d in core added a changelog argument to revbranchcache.branchinfo()
and we wrap that function in topic extension. So let's add this optional
argument in topic extension too.
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Sun, 21 Oct 2018 00:08:27 +0300 |
parents | b12c5d107187 |
children | b74a31c69ad5 |
line wrap: on
line diff
--- a/hgext3rd/serverminitopic.py Thu Oct 18 22:11:43 2018 -0700 +++ b/hgext3rd/serverminitopic.py Sun Oct 21 00:08:27 2018 +0300 @@ -67,7 +67,7 @@ if 'branchinfo' in vars(self): del self.branchinfo - def branchinfo(self, rev): + def branchinfo(self, rev, changelog=None): """return branch name and close flag for rev, using and updating persistent cache.""" phase = self._repo._phasecache.phase(self._repo, rev)