Can Mercurial be made to preserve file permissions?

前端 未结 5 1866
星月不相逢
星月不相逢 2021-01-30 10:19

I\'ve seen a number of blog posts, and have experienced for myself, that Mercurial does not preserve the permissions on files pushed from one repo to another. Does anyone know

5条回答
  •  北恋
    北恋 (楼主)
    2021-01-30 11:08

    It is not good idea to store permissions in VCS. However, Mercurial supports "executable" flag (that is not the same as permissions, although in Unix executable flag is part of permissions).

提交回复
热议问题