Skip to content
Snippets Groups Projects
Commit b19d8d5d authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

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, ...)".
parent a5837898
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment