Mercurial > hg
diff mercurial/diffhelpers.c @ 29238:e150c1d5f262
revset: use getargsdict for sort()
This makes it possible to use keyword arguments to specify per-sort options.
For example, a hypothetical 'first' option for the user sort could sort certain
users first with:
sort(all(), user, user.first=mpm@selenic.com)
author | Martijn Pieters <mjpieters@fb.com> |
---|---|
date | Mon, 23 May 2016 14:09:50 -0700 |
parents | f1c127df7c4f |
children | 2f51f4c535d2 |