hg diff seems to traverse unnecessary dirs

Jeff Squyres jsquyres at cisco.com
Wed Jul 23 11:19:30 CDT 2008


On Jul 23, 2008, at 12:14 PM, Matt Mackall wrote:

>> I can guess what happened: configure runs lots of tests in short- 
>> lived
>> subdirectories.  It creates a subdir, runs a test, and then whacks  
>> the
>> subdir.  So if hg scans a directory, it might see a subdirectory but
>> by the time it tries to traverse into that subdirectory, it could be
>> gone.
>
> Our diff generation function calls into a status utility function to
> figure out what the modified/added/removed files are. Up until very
> recently, that function also returned a list of unknown files by
> default. That's now fixed in tip.

Awesome; I eagerly await the next release.

Thanks again for all your work on Mercurial!

-- 
Jeff Squyres
Cisco Systems



More information about the Mercurial mailing list