hg log with files is very slow
Dirkjan Ochtman
dirkjan at ochtman.nl
Fri Jul 4 07:38:05 UTC 2008
Brian Wallis wrote:
> The mercurial eclipse plugin uses the attached style file to gather the
> revision details about the files in a repository.
>
> hg log --debug --style /path/to/style/log_style_with_files
> /path/to/repo/root
>
> In a large repository this can take a very long time to execute (6
> minutes in a 800M repo that has 6000-8000 files in a typical workspace
> checkout)
I *think* log filename is very much intended to be called with just a
few files. If Eclipse wants to see all the files, it seems to me it can
infer much the same data from just hg log --debug, at much lower cost.
(I still agree that the pathological case shouldn't be quite so
pathological, though.)
Cheers,
Dirkjan
More information about the Mercurial
mailing list