Here is my steps to compare kernel code.
- Got a correct permission kernel code and store in src
- Put src in mercurial. (cd src ; hg init ; hg ci -A -m"")
- Copy windows guy's modification to src
Because the file permission in windows will always treated as 777. That shows almost all files have modified.
I've read this link, but I don't think it is a good method to solve this problem.
I wish there is a method to let me 'hg revert' the wrong permission files.