D657: revset: move weight information to predicate

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Fri Sep 8 10:08:28 EDT 2017


yuja added a comment.


  Perhaps we'll need to make these magic numbers less obfuscated. Before, weights
  were defined in one location and functions were grouped, so it wasn't hard to guess
  what sort of functions should belonged to e.g. the w=30 group. With this patch,
  weights can be arbitrary chosen by extension authors, but could we choose the
  right value?

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D657

To: quark, #hg-reviewers, phillco
Cc: yuja, phillco, mercurial-devel


More information about the Mercurial-devel mailing list