[PATCH] umask for multiple commiters

Aurelien Jacobs aurel at gnuage.org
Thu Oct 12 17:45:56 CDT 2006


Some times ago, there was a disscussion about setting umask in mercurial:
There was no conclusion to this thread :-(

Now I'm setting up a repo with multiple commiters using SGID, so I need
umask to be set to 002 so that new files are created group writable.

Attached is an updated version of the patch sent in the original thread.
I think it's the best and simplest solution.

But for now I prefer using my distro package, so instead of patching
mercurial, I'm using the attached extension. I think that such an
extension is quite overkill, and thus I would prefer seeing first patch

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hg-umask.diff
Type: text/x-diff
Size: 1241 bytes
Desc: not available
Url : http://www.selenic.com/pipermail/mercurial-devel/attachments/20061013/5f21e971/hg-umask.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: umask.py
Type: text/x-python
Size: 679 bytes
Desc: not available
Url : http://www.selenic.com/pipermail/mercurial-devel/attachments/20061013/5f21e971/umask.py

More information about the Mercurial-devel mailing list