dirstate and file mode

Wujek Srujek wujek.srujek at googlemail.com
Sun Apr 8 15:46:18 UTC 2012


Hi. I am playing around with python and the mercurial files to learn a
little bit about how things work in mercurial. One thing that I notice is
that I get modes of a files in .hg/dirstate in the notation '0100664' -
what does the initial 010 stand for (I am assuming the final 0664 are just
the usual unix permissions, with the first octet being
setid/setgid/sticky)? Is this some numeric definition of a type (normal,
link, pipe, ...)? I can't find an answer in google easily, maybe this is
something related to mercurial?
wujek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20120408/162be067/attachment-0002.html>


More information about the Mercurial mailing list