##// END OF EJS Templates
revset: add extra data to filteredset for better inspection...
revset: add extra data to filteredset for better inspection A filteredset is heavily used, but it cannot provide a printable information how given set is filtered because a condition is an arbitrary callable object. This patch adds an optional "condrepr" object that is used only by repr(). To minimize the maintaining/runtime overhead of "condrepr", its type is overloaded as follows: type example -------- --------------------------------- tuple ('<not %r>', other) str '<branch closed>' callable lambda: '<branch %r>' % sorted(b) object other
Yuya Nishihara -
r28423:0d79d91b default
Show More
Name Size Modified Last Commit Author
/ mercurial / templates / coal
header.tmpl Loading ...
map Loading ...