[PATCH] umask for multiple commiters

Aurelien Jacobs aurel at gnuage.org
Thu Oct 12 22:45:56 UTC 2006


Hi,

Some times ago, there was a disscussion about setting umask in mercurial:
http://thread.gmane.org/gmane.comp.version-control.mercurial.devel/4532
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
applied.

Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hg-umask.diff
Type: text/x-diff
Size: 1241 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20061013/5f21e971/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: umask.py
Type: text/x-python
Size: 679 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20061013/5f21e971/attachment.py>


More information about the Mercurial-devel mailing list