Specifying file permissions for memfilectx

Ray Ruvinskiy ruvinsk at gmail.com
Sat Sep 11 11:10:47 CDT 2010


So it is impossible to create a read-only file with memfilectx? How
are permissions preserved for normal files, then?

Ray

On Sat, Sep 11, 2010 at 11:53 AM, Augie Fackler <durin42 at gmail.com> wrote:
>
> 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