This is an archive of the discontinued Mercurial Phabricator instance.

tests: add test for `--version` flag of perfchangegroupchangelog
ClosedPublic

Authored by pulkit on Nov 22 2018, 10:24 AM.

Details

Summary

The --version flag for the perf command conflicts with the global version flag.
The next patch will rename it to cgversion.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pulkit created this revision.Nov 22 2018, 10:24 AM
This revision was automatically updated to reflect the committed changes.
yuja added a subscriber: yuja.Nov 24 2018, 11:04 PM

+ $ hg perfchangegroupchangelog --version 01
+ Mercurial Distributed SCM (version 4.8+262-efd0f79246e3+20181122)
+ (see https://mercurial-scm.org for more information)
+
+ Copyright (C) 2005-2018 Matt Mackall and others
+ This is free software; see the source for copying conditions. There is NO
+ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

lol

Folded this with the next patch and queued, thanks. The output of "hg version"
is unstable.