hg -q log ... prints changeset number.

Harvey Chapman hchapman-hg at 3gfp.com
Mon Apr 9 16:35:25 UTC 2012


On Apr 9, 2012, at 11:33 AM, Masklinn wrote:

> Surely there's no point to a command which doesn't display anything.
> Considering the normal log, this looks plenty quiet to me.

In defense of Alan:
There are plenty of unix commands that emit no regular output when told to run quietly but they do return an exit code indicating the result. Alan justifiably assumed that Mercurial's -q would fit the familiar pattern and when it didn't, he assumed that one tool, Mercurial, was broken, and not the established pattern.




More information about the Mercurial mailing list