Skip to content

caches: preserve permissions of top-level .hg

Raphaël Gomès requested to merge topic/default/cache-permissions into branch/default

When using hg on a shared filesystem on UNIX, cache files normally inherit the permissions of the .hg directory. This is most commonly used to ensure everything is writable by all users. The sqlite3 cache files don't have a way to directly set the permission, so check if a special mode is necessary and try to apply them to newly created database files.

Merge request reports

Loading