[PATCH 3 of 9] grep: add --no-filename option to suppress filename column from output

Matt Mackall mpm at selenic.com
Thu Oct 18 22:26:29 UTC 2012


On Sun, 2012-10-14 at 22:54 +0200, Idan Kamara wrote:
> # HG changeset patch
> # User Idan Kamara <idankk86 at gmail.com>
> # Date 1350073245 -7200
> # Node ID 806bab6620c0308b61a4cf9c0e95927650ccb513
> # Parent  35568b484500bd199d337b4f2abaa21965a6aa15
> grep: add --no-filename option to suppress filename column from output

I've queued the first couple in this series, but can't say I'm excited
about stuff like this.

We have far too many command options already. Per-command switches are
not the way to make a better, more powerful tool. Instead, we should
focus on generic facilities. For instance, this feature is rendered
redundant by generic templating support, which is massively more
flexible.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial-devel mailing list