hg stat show modified file, but hg diff -g doesnt has modfication

Marco Wegner Marco.Wegner at mega-software.de
Fri Sep 1 06:24:28 UTC 2017


Sometimes after hg pull i have files, which are marked as modified although i konw that i havent modified these files.
It seems that in dirstate is a wrong mode.
For example:

hg stat -m
M pkplan/pkp_core.c

hg diff -g pkplan/pkp_core.c
'shows nothing

ls -la pkplan/pkp_core.c
-rwxrwxr-x 1 user1 group1 61066 21. Aug 08:39 pkplan/pkp_core.c

hg debugstate
n 664      61066 2017-08-21 08:39:19 Source/pkplan/pkp_core.c

here it shows 664 for mode. That is wrong. In master Repo the filemode equals to mode from ls command.
So this happens sometimes and i dont know why.

greetings marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170901/31e58e28/attachment.html>


More information about the Mercurial-devel mailing list