Hg identify on multiple repos in single call?

Yuya Nishihara yuya at tcha.org
Tue Mar 11 11:02:51 CDT 2014


(Please CC to the list)

On Mon, 10 Mar 2014 23:59:46 -0500, Eric Pyle wrote:
> Thanks, that looks promising! Any idea how long hg identify would take on
> the same configuration? I'd like to estimate the time savings.

You can guess it by "time hg id" - "time hg version".

> > On Fri, 7 Mar 2014 22:58:40 -0600, Eric Pyle wrote:
> > > I'm trying to optimize the performance of calling hg 'identify' across
> > 100+
> > > repos.

BTW, if the repository is local, it will be much faster to read .hg/dirstate
directly.  See vcprompt for example.

http://hg.gerg.ca/vcprompt/file/3babbe517e2c/src/hg.c

Regards,


More information about the Mercurial-devel mailing list