Mercurial > evolve
diff hgext3rd/topic/revset.py @ 2668:1d2c66dc4ee3
topic: explicitly pass topic as a keyword argument
This clarify all callers before adding more logic related to bare branch in
stack.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 28 Jun 2017 01:58:09 +0200 |
parents | 6a3df2404472 |
children | b933a8068c17 |
line wrap: on
line diff
--- a/hgext3rd/topic/revset.py Tue Jun 27 15:21:38 2017 +0200 +++ b/hgext3rd/topic/revset.py Wed Jun 28 01:58:09 2017 +0200 @@ -75,7 +75,7 @@ if not topic: raise error.Abort(_('no active topic to list')) # ordering hack, boo - return revset.baseset(stack.getstack(repo, topic)) & subset + return revset.baseset(stack.getstack(repo, topic=topic)) & subset def modsetup(ui):