[PATCH 3 of 3] dispatch: make hg --profile wrap reposetup

Sean Farley sean at farley.io
Mon Sep 19 18:18:21 EDT 2016


Arun Kulshreshtha <kulshrax at fb.com> writes:

> # HG changeset patch
> # User Arun Kulshreshtha <kulshrax at fb.com>
> # Date 1474318006 25200
> #      Mon Sep 19 13:46:46 2016 -0700
> # Node ID 5f50f386e97814080dc7542af9b30aa77aba0115
> # Parent  2ffa94402289c595f16e7732d28399adeb251657
> dispatch: make hg --profile wrap reposetup
>
> Add profiling to _dispatch so that reposetup is included in the profiler
> output. All existing usage of the profiling context manager has been preserved,
> so the existing behavior of profiling enabled after reposetup will not be
> affected.

These patches seem pretty straight-forward, surprisingly. Maybe Greg
should take a look, too.


More information about the Mercurial-devel mailing list