Hg identify on multiple repos in single call?

Eric Pyle eric_pyle at sil.org
Tue Mar 11 15:46:53 CDT 2014


Thanks again for the tips. Yes, our repositories will be local. Worse case
they would be on USB or Shared Network Drive.

Eric


On Tue, Mar 11, 2014 at 11:02 AM, Yuya Nishihara <yuya at tcha.org> wrote:

> (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,
>



-- 
Eric Pyle
Dallas, TX
SIL - Language Software Developer
Skype: eric.d.pyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20140311/912a276d/attachment.html>


More information about the Mercurial-devel mailing list