hg diff: why is it listing the directories?

Guido Ostkamp hg at ostkamp.fastmail.fm
Sat Jun 2 18:11:00 UTC 2007


Hi,

>> Now, why is necessary the list the contents of the directories, for hg 
>> diff? Doesn't hg have all the required metadata to know which files to 
>> stat without listing anything?
>
> Known bug.
>
> Workaround: make sure all files that aren't part of your project are 
> properly ignored.

this is most likely the 'lstat' bug. I've documented it two weeks ago at 
<http://www.selenic.com/mercurial/bts/issue567>.

I'm waiting for Alexis (who requested a verification which I provided) to 
fix the issue. The version which introduced the bug is already known.

Regards

Guido




More information about the Mercurial mailing list