Filesets: wishlist

Yuya Nishihara yuya at tcha.org
Wed Oct 19 15:09:19 UTC 2016


On Tue, 18 Oct 2016 17:47:05 +0200, Marcus Harnisch wrote:
> Not sure I fully comprehend the extdata thing. Is the RFC on the web?

Patches are available on the mailing list.

> Regarding a potential shell() directive, the benefit I am seeing is that it
> would nicely nest with other directives. You would specify an input file
> set, shell pipeline reading from stdin, as well as both input and output
> delimiters (optional). A filter implementation (rather than my initial
> per-file TRUE/FALSE proposal) would increase the throughput of some
> expensive commands.

Interesting. Is your "filter" proposal something like this?

  $ hg files 'set:(foo + bar + baz) & pipe("grep a", sep="\n")'
  bar
  baz



More information about the Mercurial mailing list