Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/dagutil.py @ 27987:b19d8d5d6b51 stable
revset: flatten chained 'list' operations (aka function args) (issue5072)
Internal _matchfiles() function can take bunch of arguments, which would
lead to a maximum recursion depth error. This patch avoids the excessive
stack use by flattening 'list' nodes beforehand.
Since getlist() no longer takes a nested 'list' nodes, _parsealiasdecl()
also needs to flatten argument list, "aliasname($1, $2, ...)".
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 02 Feb 2016 23:49:49 +0900 |
parents | 015ded095933 |
children | 09397d0dd3b7 |
comparison
equal
deleted
inserted
replaced
27986:a58378983687 | 27987:b19d8d5d6b51 |
---|