On Thu, 22 Sep 2016 12:45:26 -0700, Arun Kulshreshtha wrote: > # HG changeset patch > # User Arun Kulshreshtha <kulsh...@fb.com> > # Date 1474572990 25200 > # Thu Sep 22 12:36:30 2016 -0700 > # Node ID 921577f5e9bfc3c059a8eb357796736f9edbdcd0 > # Parent 75b224273359ed924528491efb88c612f3caa4ca > dispatch: make hg --profile wrap reposetup
> @@ -844,7 +845,7 @@ > elif not cmd: > return commands.help_(ui, 'shortlist') > > - if True: > + with profiling.maybeprofile(lui): > repo = None > cmdpats = args[:] > if not _cmdattr(ui, cmd, func, 'norepo'): As a follow-up patch, maybe we should move --version and --help to maybeprofile() block. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel