Specifying file permissions for memfilectx

Augie Fackler durin42 at gmail.com
Sat Sep 11 10:53:49 CDT 2010


On Sep 11, 2010, at 9:26 AM, Ray Ruvinskiy wrote:

> Hello,
> 
> Is there a way to specify permissions for files created with
> memfilectx? What within Mercurial keeps track of the permissions?

The only permission Mercurial tracks is the executable flag, which is set by passing 'x' as the flags argument to a memfilectx in the filectxfn callback.

> Thanks,
> 
> Ray
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel



More information about the Mercurial-devel mailing list