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

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Thu Nov 22 15:24:49 UTC 2018


pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

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

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-contrib-perf.t

CHANGE DETAILS

diff --git a/tests/test-contrib-perf.t b/tests/test-contrib-perf.t
--- a/tests/test-contrib-perf.t
+++ b/tests/test-contrib-perf.t
@@ -142,6 +142,13 @@
   $ hg perfbranchmap
   $ hg perfcca
   $ hg perfchangegroupchangelog
+  $ 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.
   $ hg perfchangeset 2
   $ hg perfctxfiles 2
   $ hg perfdiffwd



To: pulkit, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list