comparison mercurial/scmwindows.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 029f02757c20
children 3df9f780c90e
comparison
equal deleted inserted replaced
27986:a58378983687 27987:b19d8d5d6b51