[PATCH RESEND] largefiles: speed up the check if largefiles should be added to repo requirements

Adrian Buehlmann adrian at cadifra.com
Fri Oct 28 12:48:07 CDT 2011

On 2011-10-28 19:15, Matt Mackall wrote:
> On Fri, 2011-10-28 at 15:52 +0200, Dominik Psenner wrote:
>>> Wouldn't it also be logical to first just check for a ".hglf" in the repo
>>> directory, and only if it doesn't exist, walk the repo.store?  Surely this
>>> is much faster?
>> I'm hacking on windows right now, thus I cannot compare performance as I
>> lack "time".
> hg --time

Or use Measure-Command of the Windows PowerShell:

  PS C:\Users\adi> Measure-Command {echo hi}
  TotalMilliseconds : 3.1084

PowerShell is already integrated with Windows 7


More information about the Mercurial-devel mailing list